By default, the following shipping information is not printed on packing slips generated through WebSphere Commerce:
- Any shipping instructions optionally provided by a customer or by a Customer Service Representative. For example, a customer may want to tell the shipper to leave a package on the back porch or with a neighbor at delivery.
The shipping carrier account number specified by a customer or a Customer Service Representative if the shipping charge type of "shipping by carrier" is selected when the order is placed.
To have this additional shipping information printed on a packing slip, your site administrator or developer must modify the packing slip to print this type of data.
Developers can retrieve the shipping instructions and shipping carrier account number from the PACKSLIPXML field in the WebSphere Commerce ORDRELEASE database table. Specifically, this information can be obtained from the <Shipto> element in the XML string stored in the PACKSLIPXML field. For example, the following attributes are included in the PACKSLIPXML field:
<Packslip> ... <Shipto AddressID="100000000001" First_Name=""John"" Last_Name=""Taylor"" Address_1=""12345 Mayberry Street"" City="Raleigh" State="North Carolina" Zip="27607" Country="USA" shippingInstructions="Leave the package on the back porch" shippingCarrierAccntNum="JH010101-ABC" /> ... </PackSlip>
The PackSlip_20.dtd (document type definition) is associated with this additional shipping information and is used specifically when the advanced orders function is used. This DTD is located in the xml/messaging directory in the WebSphere Commerce installation directory and can be used by developers to validate the shipping instructions and the shipping carrier account number. The PackSlip_10.dtd is used for standard orders and does not provide support for this additional shipping information.