DescriptionThis 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.
A 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.