PackagingInfo
Synopsis
struct PackingInfo {
Quantity* width;
Quantity* height;
Quantity* depth;
Quantity* volume;
Quantity* tareWeight;
Quantity* netWeight;
int* itemsPerPackUnit;
int* packUnitsPerArticle;
}
See also: Quantity
The PackingInfo structure is referenced by the ArticleProperties (§ArticleProperties) structure. This element is used to return OFML article packaging information to the client, and, in case of user articles, to allow the client to set the packaging information.The fields are as follows:
width
This field contains the width of the packaging unit of the article.
height
This field contains the height of the packaging unit of the article.
depth
This field contains the depth of the packaging unit of the article.
volume
This field contains the volume of the packaging unit of the article.
tareWeight
This field contains the weight of the packaging unit of the article.
netWeight
This field contains the weight of the individual article.
itemsPerPackUnit
This field contains the number of articles per packaging unit.
packUnitsPerArticle
This field contains the number of packaging units which are used for the article.
A NULL quantity is used if an article has no length, volume or weight (i.e. no physical existence). In case of an unknown length, volume or weight the corresponding element is not returned.
To reset a packaging info quantity (of an user article), the client can invoke the setItemProperties operation with the corresponding field set to an invalid quantity (complex type Quantity with the unit attribute set to an empty string and no value attribute).