Posted on 14/04/2026 11:48:29
Hi Adrian,
yes, they will not be ignored if the values are correct. You can try to add those OrderShippingCode and OrderShippingAgentCode (and maybe OrderShippingAgentServiceCode) fields to the request xml and they will be used by the code unit for the order create request like that:
if ShippingAgent.Get(XmlHelper.GetTextFromNode(XMLOrderNode, 'column[@columnName=''OrderShippingAgentCode'']')) then begin
salesheader."Shipping Agent Code" := ShippingAgent.Code;
if ShippingAgentService.Get(ShippingAgent.Code, XmlHelper.GetTextFromNode(XMLOrderNode, 'column[@columnName=''OrderShippingAgentServiceCode'']')) then
salesheader."Shipping Agent Service Code" := ShippingAgentService.Code;
end;
if ShipmentMethod.Get(XmlHelper.GetTextFromNode(XMLOrderNode, 'column[@columnName=''OrderShippingCode'']')) then
salesheader."Shipment Method Code" := ShipmentMethod.Code;
So that mayhave some impact on the BC order calculation.
BR, Dmitrij