Name | Description | Type | Additional information |
---|---|---|---|
Id | decimal number |
None. |
|
ProduitID |
Product id. Corresponds to Id property of the product |
integer |
Required |
Period |
No of years |
decimal number |
Required |
Quantity |
Quantity. Some products have a quantity instead of a period |
integer |
Required |
Pu |
Unit price. Readonly |
decimal number |
None. |
IsUpdate |
Set this to true if this is an update to an existing product. Default false. |
boolean |
None. |
NewQuantity |
The sum of the existing quantity and quantity requested. Updates only |
integer |
None. |
PeriodLeft |
The period from now till current expiry date. Updates only |
decimal number |
None. |
OldProduitID |
The previous product id in case of upgrade |
integer |
None. |
OldPu |
Old unit price in case of upgrade. This is the unit price that was paid at the time of purchase |
decimal number |
None. |
Total_HT |
The total price of the item before tax. Quanity*Period*Pu for creation NewQuantity*Period*Pu + Quantity(if greater than 0)*PeriodLeft*Pu for updates |
decimal number |
None. |
OpDetailPacks | Collection of OpDetailPack |
None. |