when we obtain a shipping quote from an SO in quote state, we do
not yet have a picking and hence cannot unconditionally dereference
the picking object in the build_sc_pkg() method.
Related: SYS#6648
seit Januar 2023 muss für den Versand nach Mexiko eine Paketbeschreibung übergeben werden.
UPS schreibt dazu:
Hide quoted text
However, as of January of 2023, the Mexican Tax Authority adopted the Carta Porte requirements, which mandate that all shipments to and within Mexico include a Package Description field that accurately describes the contents of the shipment.
Sie übergeben die Beschreibung derzeit auf der shipment-Ebene:
},
"carrier": "ups",
"package": {
"type": "parcel",
"width": 20,
"height": 4,
"length": 27,
"weight": 0.48
},
"service": "one_day",
"incoterm": "dap",
"description": "sim cards",
"reference_number": "AM93\\OUT\\07008",
"notification_mail": "roman.rohleder@gmail.com",
"create_shipping_label": true
}
Sie müssen aber sowohl auf shipment-Ebene, als auch auf package-Ebene eine description angeben, damit ein Label erstellt wird.
Z.B.:
},
"carrier": "ups",
"package": {
"type": "parcel",
"width": 20,
"height": 4,
"length": 27,
"weight": 0.48",
"description": "sim cards"
},
"service": "one_day",
"incoterm": "dap",
"description": "sim cards",
"reference_number": "AM93\\OUT\\07008",
"notification_mail": "roman.rohleder@gmail.com",
"create_shipping_label": true
}