getCompleteOrderDetails

La communication getCompleteOrderDetails mappe des informations d'anciennes commandes entre Sterling Order Management et HCL Commerce. Lorsqu'un client souhaite afficher les détails d'une commande qui existe dans Sterling Order Management, l'API getCompleteOrderDetails est appelée. Si l'acheteur souhaite réorganiser et créer un panier basé sur ces détails de commande, HCL Commerce appelle la même API.

mappages getCompleteOrderDetails

Tableau affichant les mappages entre les informations de commande HCL Commerce et Sterling Order Management pour getCompleteOrderDetails, avec des notes

HCL Commerce Informations sur la commande Sterling Order Management Informations sur la commande Notes®

_ord:Order/_ord:OrderIdentifier/_wcf:UniqueID

Order/@OrderNo

_ord:Order/_wcf:StoreIdentifier/_wcf:uniquyID

Order/@EnterpriseCode

Maintenir le mappage entre SC:OrganizationCode et WC:StoreIdentifer (StoreId) dans ValueMaps.xml

_ord:Order/_wcf:StoreIdentifier/_wcf:uniquyID

Order/@SellerOrganizationCode

_ord:Order/_ord:PlacedDate

Order/@OrderDate

Le fuseau horaire est inclus.

_ord:Order /_ord:OrderStatus/_ord:Status

Order/@OverallStatus

_ord:Order/ShipAsComplete

Order/@IsShipAsComplete

Montant de la commande

_ord:Order/_ord:OrderAmount/_ord:GrandTotal

Order/OverallTotals/@GrandTotal

_ord:Order/_ord:OrderAmount/_ord:TotalProductPrice

Order/OverallTotals/@LineSubTotal

_ord:Order/_ord:OrderAmount/_ord:TotalAdjustment

Order/OverallTotals/@GrandDiscount

_ord:Order/_ord:OrderAmount/_ord:TotalShippingCharge

Order/OverallTotals/@GrandShippingTotal

_ord:Order/_ord:OrderAmount/_ord:TotalSalesTax

Order/OverallTotals/@GrandTax

_ord:Order/_ord:OrderAmount/_ord:TotalShippingTax

_wcf:Currency

Order/PriceInfo/@Currency

Ajustement de commande
ord:Order/_ord:OrderItem/ord:OrderItemAmount/@freeGift

Order/Awards/Award/AwardType

Si @freeGift=true, définir sur Y.

Pour le cadeau gratuit au niveau de la commande, ajoutez le prix au niveau de commande et au niveau de ligne.

(ChargeCategory)

Livraison de la commande : Articles de commande

_ord:Order/_ord:OrderItem/_ord:CatalogEntryIdentifier/_wcf:ExternalIdentifier/_wcf:PartNumber

Order/OrderLines/OrderLine/Item/@ItemID

ord:Order/_ord:OrderItem/_ord:Quantity

Order/OrderLines/OrderLine/@OrderedQty

ord:Order/_ord:OrderItem/_ord:Quantity/@uom

Order/OrderLines/OrderLine/Item/@UnitOfMeasure

ord:Order/_ord:OrderItem/_ord:OrderItemConfiguration

Order/OrderLines/OrderLine/@BOMXML

Pour DynamicKit

Informations d'expédition de l'article de commande

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingMode/_ord:ShippingModeIdentifier/_ord:ExternalIdentifier/_ord:ShipModeCode

Order/OrderLines/OrderLine/@CarrierServiceCode

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingMode/_ord:ShippingModeIdentifier/_ord:ExternalIdentifier/_ord:ShipModeCode

Order/OrderLines/OrderLine/@DeliveryMethod

Pour le retrait en magasin, il doit être défini comme "PICK". Dans le cas contraire, il devrait être défini comme "SHP"x

ord:Order/_ord:OrderItem/_ord:FulfillmentCenter/_ord:FulfillmentCenterIdentifier/_wcf:Name

Order/OrderLines/OrderLine/@ShipNode

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:RequestedShipDate

Order/OrderLines/OrderLine/@ReqShipDate

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingInstruction

Order/OrderLines/OrderLine/Instructions/Instruction(InstructionType=SHIP)

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:ContactName/_wcf::FirstName

Order/OrderLines/OrderLine/PersonInfoShipTo@FirstName

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:ContactName/_wcf::LastName

Order/OrderLines/OrderLine/PersonInfoShipTo@LastName

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf::AddressLine[1]

Order/OrderLines/OrderLine/PersonInfoShipTo@AddressLine1

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf::AddressLine[2]

Order/OrderLines/OrderLine/PersonInfoShipTo@AddressLine2

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf::AddressLine[3]

Order/OrderLines/OrderLine/PersonInfoShipTo@AddressLine3

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf::City

Order/OrderLines/OrderLine/PersonInfoShipTo@City

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf::StateOrProvinceName

Order/OrderLines/OrderLine/PersonInfoShipTo@State

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf::Country

Order/OrderLines/OrderLine/PersonInfoShipTo@Country

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf::ZipCode

Order/OrderLines/OrderLine/PersonInfoShipTo@ZipCode

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf:: EmailAddress1

Order/OrderLines/OrderLine/PersonInfoShipTo@EmailID

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf: Telephone1

Order/OrderLines/OrderLine/PersonInfoShipTo /@DayPhone

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:Address/_wcf: Telephone2

Order/OrderLines/OrderLine/PersonInfoShipTo /@EveningPhone

ord:Order/_ord:OrderItem/_ord:OrderItemShippingInfo/_ord:ShippingAddress/_wcf:ContactInfoIdentifier/_wcf:ExternalIdentifier/ContactInfoNickName

Order/OrderLines/OrderLine/PersonInfoShipTo /@AddressID

Montant des articles de la commande

ord:Order/_ord:OrderItem/_ord:OrderItemAmount/_wcf:UnitPrice/_wcf:Price

Order/OrderLines/OrderLine/ComputedPrice/@UnitPrice

ord:Order/_ord:OrderItem/_ord:OrderItemAmount/_wcf:OrderItemPrice

Order/OrderLines/OrderLine/ComputedPrice /@ExtendedPrice

ord:Order/_ord:OrderItem/_ord:OrderItemAmount/_wcf:TotalAdjustment

Order/OrderLines/OrderLine/ComputedPrice /@Discount

ord:Order/_ord:OrderItem/_ord:OrderItemAmount/_wcf:SalesTax

Order/OrderLines/OrderLine/ComputedPrice /@Tax

ord:Order/_ord:OrderItem/_ord:OrderItemAmount/_wcf:ShippingTax

Ajustement de l'article de commande

ord:Order/_ord:OrderItem/ord:OrderItemAmount/@freeGift

Order/OrderLines/ OrderLine/@isFreeGift

Si @freeGift=true, définir sur Y.

Pour le cadeau gratuit au niveau de la commande, ajoutez le prix au niveau de commande et au niveau de ligne.

Pour le cadeau gratuit au niveau de la ligne, ajoutez seulement le prix au niveau de la ligne.

(ChargeCategory)

Statut de l'article de commande

ord:Order/_ord:OrderItem/_ord:OrderItemStatus/_ord:Status

Order/OrderLine/OrderStatus/@Status

Informations de paiement de la commande

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:PaymentMethod/_ord:PaymentMethodName

Order/PaymentMethods/PaymentMethod/@PaymentType

Carte de crédit

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:ProtocolData: _display_value

Order/PaymentMethods/PaymentMethod/DisplayCreditCardNo

HCL Commerceattribut -side pour affichage.

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:ProtocolData:cc_brand

Order/PaymentMethods/PaymentMethod/CreditCardType

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:ProtocolData:expire_month

Order/PaymentMethods/PaymentMethod/CreditCardExpDate

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:ProtocolData:expire_year

Order/PaymentMethods/PaymentMethod/CreditCardExpDate

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:ContactName/_wcf:FirstName

Order/PaymentMethods/PaymentMethod/FirstName

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:ContactName/_wcf:LastName

Order/PaymentMethods/PaymentMethod/LastName

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:ContactName/_wcf:MiddleName

Order/PaymentMethods/PaymentMethod/MiddleName

Compte client

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:ProtocolData: _display_value

Order/PaymentMethods/PaymentMethod/DisplayCustomerAccountNo

HCL Commerceattribut -side pour affichage.
Vérification

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:ProtocolData: _display_value

Order/PaymentMethods/PaymentMethod/DisplayPaymentReference1

HCL Commerceattribut -side pour affichage.
Autre

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:ProtocolData: _display_value

Order/PaymentMethods/PaymentMethod/ DisplayPaymentReference1

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:Amount

Order/PaymentMethods/PaymentMethod/MaxChargeLimit

Transaction financière

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:ContactName/_wcf:FirstName

Order/PersonInfoBillTo@FirstName

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo@FirstName

L'adresse de facturation est toujours liée au mode de paiement dans HCL Commerce. Mappe l'adresse de facturation pour le premier mode de paiement sur Order/PersonInfoBillTo.

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:ContactName/_wcf:MiddleName

Order/PersonInfoBillTo@MiddleName

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo@ MiddleName

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:ContactName/_wcf:LastName

Order/PersonInfoBillTo@LastName

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo@ LastName

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf:AddressLine[1]

Order/PersonInfoBillTo@AddressLine1

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo@ AddressLine1

_ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf:AddressLine[2]

Order/PersonInfoBillTo@AddressLine2

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo@ AddressLine2

ord:Order/_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf:AddressLine[3]

Order/PersonInfoBillTo@AddressLine3

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo@ AddressLine3

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf:City

Order/PersonInfoBillTo@City

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo@ City

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf: StateOrProvinceName

Order/PersonInfoBillTo@State

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@State

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf: Pays

Order/PersonInfoBillTo@Country

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@Country

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf: Code postal

Order/PersonInfoBillTo@ZipCode

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@ZipCode

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf: EmailAddress1/_wcf:value

Order/PersonInfoBillTo@EmailID

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@EmailID

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf: EmailAddress2/_wcf:value

Order/PersonInfoBillTo@ AlternateEmailID

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@ AlternateEmailID

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf: Telephone1

Order/PersonInfoBillTo/@DayPhone

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@DayPhone

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf: Telephone2

Order/PersonInfoBillTo/@EveningPhone

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@EveningPhone

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf: Fax1

Order/PersonInfoBillTo/@DayFaxNo

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@ DayFaxNo

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:Address/_wcf: Fax2

Order/PersonInfoBillTo/@EveningFaxNo

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@ EveningFaxNo

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf:ContactInfoIdentifier/_wcf:ExternalIdentifier/ContactInfoNickName

Order/PersonInfoBillTo/@AddressID

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@AddressID

ord:Order /_ord:OrderPaymentInfo/_ord:PaymentInstruction/_ord:BillingAddress/_wcf: ContactName/_wcf:PersonTitle

Order/PersonInfoBillTo/@Title

Order/PaymentMethods/PaymentMethod/ PersonInfoBillTo/@Title