This is a method from the KashFlow Accounting Software SOAP API

Description

This method allows you to create a new SubProduct.

A SubProduct in the application is either a “product” as a child of a Sales Type, or a “Sub-Outgoing Type” as a child of an Outgoing Type.

Parameters

OUT
sp
SubProduct
SubProduct populated with the relevant fields.

If the id is set to 0, a new SubProduct will be created. If it is non-zero then the selected SubProduct will be updated.

Returns

An integer giving the unique ID number of the updated or newly created SubProduct