NAFTAProducerInfo Property
Producer information for NAFTA Certificate of Origin documents.
Syntax
upsshipintl.getNAFTAProducerInfo([callback]) upsshipintl.setNAFTAProducerInfo( NAFTAProducerInfo, [callback])
Possible Values
0 (piYes), 1 (piNo1), 2 (piNo2), 3 (piNo3)
Default Value
0
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getNAFTAProducerInfo([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setNAFTAProducerInfo([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This property is required when the FormTypes property includes the NAFTA flag.
From UPS documentation, specify: piYes - If shipper is the producer of the good. If not, state No depending on whether this certificate was based upon: piNo1 - Knowledge of whether the good qualifies as an originating good. piNo2 - Reliance on the producer's written representation (other than a Certificate of Origin) that the good qualifies as an originating good. piNo3 - A completed and signed Certificate for the good voluntarily provided to the exporter by the producer.
Data Type
Integer