CommodityNumberOfPieces Property
The total number of packages, cartons, or containers for the commodity line item.
Syntax
int GetCommodityNumberOfPieces(int iCommodityIndex);
int SetCommodityNumberOfPieces(int iCommodityIndex, int iCommodityNumberOfPieces);
Default Value
1
Remarks
The total number of packages, cartons, or containers for the commodity line item.
In UPS, it is required and applicable to CO only.
In FedEx, if the Documents is set to False in ship request, the CommodityNumberOfPieces is required to be entered for each commodity item included in an international shipment. At least one occurrence is required for international dutiable (non-documents) shipments.
This property is not applicable to USPS.
The size of the array is controlled by the CommodityCount property.
This property is not available at design time.
Data Type
Integer