When using the CyberStore PunchOut Add-On Module, the following example shows sample ouput XML source generated for use as the Punch Out Order Message or POOM. This raw data is transformed into cXML or any other format required using the PunchOut XSLT. For more information see the Working with Punch Out topic.
PunchOutOrderMessage.xml |
Copy Code
|
---|---|
<?xml version="1.0" encoding="utf-8"?> <CyberStore> <TimeStamp>10/25/2018 3:28:46 PM</TimeStamp> <Account> <ID><![CDATA[8]]></ID> <FirstName><![CDATA[Susan]]></FirstName> <LastName><![CDATA[Brown]]></LastName> <CompanyName><![CDATA[]]></CompanyName> <PrimaryPhone><![CDATA[]]></PrimaryPhone> <PrimaryPhoneExt><![CDATA[]]></PrimaryPhoneExt> <AlternatePhone><![CDATA[]]></AlternatePhone> <AlternatePhoneExt><![CDATA[]]></AlternatePhoneExt> <Email><![CDATA[sbrown@bikesblades.com]]></Email> <ShippingCode><![CDATA[BK1]]></ShippingCode> <OnFile><![CDATA[True]]></OnFile> <Override_ITM_ViewList><![CDATA[0]]></Override_ITM_ViewList> <OnFileValue><![CDATA[1]]></OnFileValue> <Approved><![CDATA[True]]></Approved> <IsCustomerAdmin><![CDATA[True]]></IsCustomerAdmin> <IsItemListLimited><![CDATA[False]]></IsItemListLimited> <CanCheckOut><![CDATA[True]]></CanCheckOut> <CanViewOrderHistory><![CDATA[True]]></CanViewOrderHistory> <HasOrderShipping><![CDATA[True]]></HasOrderShipping> <novoUserSync><![CDATA[False]]></novoUserSync> <Customer_ID><![CDATA[10]]></Customer_ID> <HideBasePrice><![CDATA[False]]></HideBasePrice> <AllCustomer><![CDATA[True]]></AllCustomer> <AccountShipping_ID><![CDATA[13]]></AccountShipping_ID> <AccountBilling_ID><![CDATA[13]]></AccountBilling_ID> <AccountOnHold><![CDATA[False]]></AccountOnHold> <CanPunchOut><![CDATA[False]]></CanPunchOut> <CartXmlXsltFile><![CDATA[Transform-02.xslt]]></CartXmlXsltFile> <BillingMapping_ID><![CDATA[0]]></BillingMapping_ID> <VerificationCode><![CDATA[]]></VerificationCode> <PasswordChangeRequestDate><![CDATA[]]></PasswordChangeRequestDate> <ShippingMapping_ID><![CDATA[0]]></ShippingMapping_ID> <CreateDate><![CDATA[11/27/2007 2:47:57 PM]]></CreateDate> <ModifyDate><![CDATA[11/27/2007 2:47:57 PM]]></ModifyDate> <LastLoginDate><![CDATA[10/25/2018 3:17:52 PM]]></LastLoginDate> <HasFinishedRegistration><![CDATA[True]]></HasFinishedRegistration> <IsSalesperson><![CDATA[True]]></IsSalesperson> <Salesperson><![CDATA[]]></Salesperson> <IsAssociatedBySalesperson><![CDATA[False]]></IsAssociatedBySalesperson> <CharacteristicsValues> <CharacteristicValues> <Family Name="AccountProfile"> <Characteristic Name="CCReuseOptIn" Type="Boolean"><![CDATA[True]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="AccountProfile"> <Characteristic Name="EmailOptIn" Type="Boolean"><![CDATA[False]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="AccountProfile"> <Characteristic Name="SALESPERSON" Type="Boolean"><![CDATA[True]]></Characteristic> </Family> </CharacteristicValues> </CharacteristicsValues> </Account> <Customer> <Customer_ID><![CDATA[10]]></Customer_ID> <Name><![CDATA[Bikes and Blades - North]]></Name> <CustomerNumber><![CDATA[0000002]]></CustomerNumber> <Telephone><![CDATA[416-555-8256]]></Telephone> <Contact><![CDATA[Susan Brown]]></Contact> <UserField1><![CDATA[12345]]></UserField1> <Salesperson3><![CDATA[]]></Salesperson3> <BuyingGroup5><![CDATA[]]></BuyingGroup5> <Class_ID><![CDATA[2]]></Class_ID> <CreditLimit><![CDATA[0.0000]]></CreditLimit> <CurrencyCode><![CDATA[$]]></CurrencyCode> <InvoiceTerm_Code><![CDATA[2]]></InvoiceTerm_Code> <InvoiceDiscountCode><![CDATA[]]></InvoiceDiscountCode> <LineDiscountCode><![CDATA[]]></LineDiscountCode> <FreeShipping><![CDATA[False]]></FreeShipping> <CustomeronHold><![CDATA[False]]></CustomeronHold> <ForceWarehouse><![CDATA[False]]></ForceWarehouse> <CanPunchOut><![CDATA[True]]></CanPunchOut> <PunchOutMode><![CDATA[DOWNLOAD]]></PunchOutMode> <PunchOutActionUrl><![CDATA[]]></PunchOutActionUrl> <CartXmlXsltFile><![CDATA[]]></CartXmlXsltFile> <AllowCustomerAdminAccounts><![CDATA[True]]></AllowCustomerAdminAccounts> <WarehouseToUse><![CDATA[E]]></WarehouseToUse> <StateCode><![CDATA[]]></StateCode> <isTPMCustomer><![CDATA[False]]></isTPMCustomer> <Salesperson><![CDATA[100]]></Salesperson> <Branch><![CDATA[0]]></Branch> <CharacteristicsValues> </CharacteristicsValues> </Customer> <ShoppingCart> <ID><![CDATA[13435]]></ID> <Session_ID><![CDATA[14285]]></Session_ID> <XPSession><![CDATA[Dovetail.Ecommerce.Base.Module.XPSessionState(14285)]]></XPSession> <Site_ID><![CDATA[1]]></Site_ID> <Site><![CDATA[Dovetail.Ecommerce.Base.Module.XPSite(1)]]></Site> <Settings><![CDATA[Dovetail.Ecommerce.Base.Module.XPComConfig(3)]]></Settings> <Account><![CDATA[Dovetail.Ecommerce.Base.Module.Account(8)]]></Account> <AccountEmail><![CDATA[sbrown@bikesblades.com]]></AccountEmail> <AccountFirstName><![CDATA[Susan]]></AccountFirstName> <AccountLastName><![CDATA[Brown]]></AccountLastName> <AccountCompanyName><![CDATA[]]></AccountCompanyName> <Account_ID><![CDATA[0]]></Account_ID> <CurrencyCode><![CDATA[$]]></CurrencyCode> <CartDate><![CDATA[10/25/2018 3:17:53 PM]]></CartDate> <CreateDate><![CDATA[10/25/2018 3:17:12 PM]]></CreateDate> <ModifyDate><![CDATA[10/25/2018 3:17:12 PM]]></ModifyDate> <CreateBy><![CDATA[webadm]]></CreateBy> <ModifyBy><![CDATA[webadm]]></ModifyBy> <Subtotal><![CDATA[400.0000]]></Subtotal> <NumItemsinCart><![CDATA[1]]></NumItemsinCart> <IsPersonalized><![CDATA[False]]></IsPersonalized> <ShoppingCartDetails> <ShoppingCartDetail> <ID><![CDATA[2455]]></ID> <ParentCart><![CDATA[Dovetail.Ecommerce.Base.Module.XPShoppingCart(13435)]]></ParentCart> <Item_ID><![CDATA[579]]></Item_ID> <ParentItem> <Item_ID><![CDATA[579]]></Item_ID> <StockCode><![CDATA[A100]]></StockCode> <Model_ID><![CDATA[0]]></Model_ID> <IsStockCode><![CDATA[True]]></IsStockCode> <IsModel><![CDATA[False]]></IsModel> <SKUSelectionFields><![CDATA[]]></SKUSelectionFields> <SKUSelectionMode><![CDATA[]]></SKUSelectionMode> <IsSKU><![CDATA[False]]></IsSKU> <SKUs><![CDATA[DevExpress.Xpo.XPCollection`1[[Dovetail.Ecommerce.Base.Module.XPItem, Dovetail.Ecommerce.Base, Version=2.15.6.7845, Culture=neutral, PublicKeyToken=null]](4612) NotLoaded]]></SKUs> <HasSKUs><![CDATA[False]]></HasSKUs> <Name><![CDATA[15 Speed Mountain Bike Boys]]></Name> <ItemName><![CDATA[15 Speed Mountain Bike Boys]]></ItemName> <Title><![CDATA[[Category_Name], [StockCode] - [Name], [LongDescription2], [Headline], [SubHeadline] | [Site_Name], [Company_name]]]></Title> <Headline><![CDATA[Our Best Selling Boy's Mountain Bike]]></Headline> <SubHeadline><![CDATA[]]></SubHeadline> <ShortDescription><![CDATA[Amazing value on a lightweight aluminum bike!]]></ShortDescription> <LongDescription><![CDATA[<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed lectus nibh, scelerisque eget quam in, consectetur accumsan tellus. Cras vel dolor lacinia, ultricies enim id, congue libero. In viverra euismod pulvinar. Pellentesque eu orci dictum, suscipit nibh vitae, scelerisque sem. Vivamus tempor venenatis condimentum. Vivamus tellus dui, elementum non purus a, luctus cursus nibh. Sed aliquet mi ut tellus tempus, ac dictum arcu lobortis. Aliquam erat volutpat. Donec rhoncus porta mattis. Vivamus feugiat pharetra dolor, quis luctus urna placerat at. Phasellus sed porttitor elit. Donec sollicitudin sem dolor, non commodo massa scelerisque eget. In ullamcorper placerat velit at malesuada. Nullam consectetur sed turpis id tincidunt. Suspendisse potenti. Sed lobortis non tortor lobortis eleifend.</p>]]></LongDescription> <MetaKeywords><![CDATA[bicycle,bike,boys,child,kid,mountain bike,new,special,alpine]]></MetaKeywords> <MetaDescription><![CDATA[High-performing, lightweight mountain bike for every rider.]]></MetaDescription> <Unit><![CDATA[EA]]></Unit> <UnitConversion><![CDATA[1.000000]]></UnitConversion> <AltUnit><![CDATA[EA]]></AltUnit> <AltUnitConversion><![CDATA[1.000000]]></AltUnitConversion> <RelativeUnit><![CDATA[EA]]></RelativeUnit> <RelativeUnitConversion><![CDATA[1.000000]]></RelativeUnitConversion> <RelativeUnitConversionFactor><![CDATA[M]]></RelativeUnitConversionFactor> <ApplyAltUnit><![CDATA[False]]></ApplyAltUnit> <OtherUnit><![CDATA[EA]]></OtherUnit> <OtherUnitConversion><![CDATA[1.000000]]></OtherUnitConversion> <ApplyOtherUnit><![CDATA[False]]></ApplyOtherUnit> <PriceMethod><![CDATA[C]]></PriceMethod> <UnitPrice><![CDATA[0.0000]]></UnitPrice> <ListPrice><![CDATA[0.0000]]></ListPrice> <Mass><![CDATA[10]]></Mass> <Volume><![CDATA[0.3]]></Volume> <InStock><![CDATA[0]]></InStock> <Limit><![CDATA[False]]></Limit> <isHotBuy><![CDATA[False]]></isHotBuy> <isFeaturedItem><![CDATA[False]]></isFeaturedItem> <InsuranceRequired><![CDATA[False]]></InsuranceRequired> <Oversized><![CDATA[False]]></Oversized> <Custom2><![CDATA[]]></Custom2> <Custom3><![CDATA[]]></Custom3> <Custom4><![CDATA[]]></Custom4> <Custom5><![CDATA[]]></Custom5> <Approved><![CDATA[True]]></Approved> <ModifyBy><![CDATA[webadm]]></ModifyBy> <ModifyDate><![CDATA[11/24/2012 10:26:29 AM]]></ModifyDate> <CreateBy><![CDATA[]]></CreateBy> <CreateDate><![CDATA[9/5/2003 1:15:03 AM]]></CreateDate> <Link1><![CDATA[]]></Link1> <ApplyOnHandQuantityBuffer><![CDATA[False]]></ApplyOnHandQuantityBuffer> <OnHandQuantityBuffer><![CDATA[0]]></OnHandQuantityBuffer> <LongDescription2><![CDATA[Distribution]]></LongDescription2> <Custom1><![CDATA[]]></Custom1> <UserField1><![CDATA[]]></UserField1> <UserField2><![CDATA[ 0.00000]]></UserField2> <UserField3><![CDATA[]]></UserField3> <UserField4><![CDATA[]]></UserField4> <UserField5><![CDATA[]]></UserField5> <ShipDays><![CDATA[0]]></ShipDays> <SortOrder><![CDATA[0]]></SortOrder> <ForceWarehouse><![CDATA[False]]></ForceWarehouse> <WarehouseToUse><![CDATA[N]]></WarehouseToUse> <AltUnitConversionFactor><![CDATA[M]]></AltUnitConversionFactor> <OtherUnitConversionFactor><![CDATA[M]]></OtherUnitConversionFactor> <StockingVisible><![CDATA[True]]></StockingVisible> <AlternateVisible><![CDATA[True]]></AlternateVisible> <OtherVisible><![CDATA[True]]></OtherVisible> <RelativeUnitVisible><![CDATA[True]]></RelativeUnitVisible> <ProductClass><![CDATA[MB]]></ProductClass> <PricingSource><![CDATA[STD]]></PricingSource> <FriendlyStockCode><![CDATA[a100]]></FriendlyStockCode> <FriendlyURLPath><![CDATA[a100/15-speed-mountain-bike-boys-bike]]></FriendlyURLPath> <ModelFriendlyURLPath><![CDATA[]]></ModelFriendlyURLPath> <FriendlyName><![CDATA[15-speed-mountain-bike-boys-bike]]></FriendlyName> <ProductGroup><![CDATA[]]></ProductGroup> <KitType><![CDATA[N]]></KitType> <HotSpots><![CDATA[DevExpress.Xpo.XPCollection`1[[Dovetail.Ecommerce.Base.Module.XPHotSpot, Dovetail.Ecommerce.Base, Version=2.15.6.7845, Culture=neutral, PublicKeyToken=null]](4615) NotLoaded]]></HotSpots> <PersonalizationDefinition><![CDATA[]]></PersonalizationDefinition> <isPersonalized><![CDATA[False]]></isPersonalized> <RelatedItems><![CDATA[DevExpress.Xpo.XPCollection`1[[Dovetail.Ecommerce.Base.Module.XPRelatedItems, Dovetail.Ecommerce.Base, Version=2.15.6.7845, Culture=neutral, PublicKeyToken=null]](4618) NotLoaded]]></RelatedItems> <Accessories><![CDATA[DevExpress.Xpo.XPCollection`1[[Dovetail.Ecommerce.Base.Module.Accessories, Dovetail.Ecommerce.Base, Version=2.15.6.7845, Culture=neutral, PublicKeyToken=null]](4619) NotLoaded]]></Accessories> <CharacteristicsValues> <CharacteristicValues> <Family Name="Specifications"> <Characteristic Name="Length" Type="Decimal"><![CDATA[36]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Specifications"> <Characteristic Name="Height" Type="Decimal"><![CDATA[24]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Specifications"> <Characteristic Name="Wheelbase" Type="Decimal"><![CDATA[18]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Specifications"> <Characteristic Name="Color" Type="MultiSelectList"><![CDATA[Steel Blue;]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Specifications"> <Characteristic Name="Gears" Type="Number"><![CDATA[15]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Links"> <Characteristic Name="CE" Type="URL"><![CDATA[http://www.yahoo.com]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Links"> <Characteristic Name="CatalogPage" Type="URL"><![CDATA[http://www.google.com]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Links"> <Characteristic Name="UL" Type="URL"><![CDATA[http://www.dovetailinternet.com]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Custom"> <Characteristic Name="REQUIRE_MODEL_OR_SN" Type="Boolean"><![CDATA[False]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Specifications"> <Characteristic Name="SIZE" Type="List"><![CDATA[Medium;]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Specifications"> <Characteristic Name="TEST" Type="Text"><![CDATA[TESTING AGAIN]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Specifications"> <Characteristic Name="Weight" Type="Decimal"><![CDATA[34.5]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="ItemDetail"> <Characteristic Name="Width" Type="Text"><![CDATA[10]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="ItemDetail"> <Characteristic Name="Height" Type="Text"><![CDATA[30]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="ItemDetail"> <Characteristic Name="Lift" Type="Text"><![CDATA[Yes]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Drawings"> <Characteristic Name="DrawingURL" Type="URL"><![CDATA[108H-96HL.png]]></Characteristic> </Family> </CharacteristicValues> <CharacteristicValues> <Family Name="Drawings"> <Characteristic Name="DrawingPDF" Type="URL"><![CDATA[063H-30HL.pdf]]></Characteristic> </Family> </CharacteristicValues> </CharacteristicsValues> <Messages><![CDATA[Dovetail.Ecommerce.Base.Module.XPItemMessages(257)]]></Messages> <ItemType><![CDATA[StockCode]]></ItemType> <Discount><![CDATA[]]></Discount> <IsCyberStoreDiscounted><![CDATA[False]]></IsCyberStoreDiscounted> </ParentItem> <StockCode><![CDATA[A100]]></StockCode> <ProductName><![CDATA[15 Speed Mountain Bike Boys]]></ProductName> <UnitType><![CDATA[1]]></UnitType> <UnitLabel><![CDATA[EA]]></UnitLabel> <UnitPrice><![CDATA[400.0000]]></UnitPrice> <Quantity><![CDATA[1]]></Quantity> <Price><![CDATA[400.0000]]></Price> <ModifyBy><![CDATA[webadm]]></ModifyBy> <ModifyDate><![CDATA[10/25/2018 3:17:12 PM]]></ModifyDate> <CreateBy><![CDATA[webadm]]></CreateBy> <CreateDate><![CDATA[10/25/2018 3:17:12 PM]]></CreateDate> <ShipDays><![CDATA[0]]></ShipDays> <UnitMass><![CDATA[10]]></UnitMass> <UnitVolume><![CDATA[0]]></UnitVolume> <ParentOrderDetail_ID><![CDATA[-1]]></ParentOrderDetail_ID> <ItemType><![CDATA[B]]></ItemType> <OrderLevel><![CDATA[0]]></OrderLevel> <Hierarchy><![CDATA[.2455.]]></Hierarchy> <DefaultPrice><![CDATA[550.00]]></DefaultPrice> <CustomerPrice><![CDATA[400.00]]></CustomerPrice> <DiscountPrice><![CDATA[400.00]]></DiscountPrice> <LinePrice><![CDATA[400.00]]></LinePrice> <PersonalizationHeader_ID><![CDATA[0]]></PersonalizationHeader_ID> <IsBackordered><![CDATA[False]]></IsBackordered> <VerifyPricing><![CDATA[True]]></VerifyPricing> <UseCustomerPrice><![CDATA[False]]></UseCustomerPrice> </ShoppingCartDetail> </ShoppingCartDetails> </ShoppingCart> <Session> <Site_ID><![CDATA[1]]></Site_ID> <Site_Name><![CDATA[Default Site]]></Site_Name> <Settings><![CDATA[Dovetail.Ecommerce.Base.Module.XPComConfig(3)]]></Settings> <SysproSettings><![CDATA[Dovetail.Ecommerce.Base.Module.XPComConfigSyspro(1)]]></SysproSettings> <CREATETIME><![CDATA[10/25/2018 3:28:42 PM]]></CREATETIME> <SessionState_ID><![CDATA[14285]]></SessionState_ID> <SimpleSQLCounter><![CDATA[18]]></SimpleSQLCounter> <UserData><![CDATA[System.Data.DataRow]]></UserData> <userName><![CDATA[Susan Brown]]></userName> <userCompany><![CDATA[Bikes and Blades - North]]></userCompany> <userCustomerNumber><![CDATA[0000002]]></userCustomerNumber> <ViewList_ID><![CDATA[]]></ViewList_ID> <Customer_ID><![CDATA[10]]></Customer_ID> <ControlTimeText><![CDATA[Load Theme: 0<br />Got Control ~/site/Control/CatalogCategoryMenuControl.ascx: 0<br />Load Control ~/site/Control/CatalogCategoryMenuControl.ascx: 0<br />Got Control ~/Controls/CatalogContentDisplayControl.ascx: 0<br />Load Control ~/Controls/CatalogContentDisplayControl.ascx: 0<br />Got Control ~/Controls/shoppingcartDisplayControl.ascx: 1<br />Load Control ~/Controls/shoppingcartDisplayControl.ascx: 566<br />Got Control ~/Controls/CatalogContentDisplayControl.ascx: 0<br />Load Control ~/Controls/CatalogContentDisplayControl.ascx: 0<br />Got Control ~/Controls/CatalogContentDisplayControl.ascx: 0<br />Load Control ~/Controls/CatalogContentDisplayControl.ascx: 0<br />]]></ControlTimeText> <ControlTime><![CDATA[567]]></ControlTime> <PersonalizationPopupprzPersonalization1><![CDATA[]]></PersonalizationPopupprzPersonalization1> <PersonalizationPopupctl01_ctl02_addToCartBtn_przPersonalization1><![CDATA[]]></PersonalizationPopupctl01_ctl02_addToCartBtn_przPersonalization1> <DefaultUserID><![CDATA[5]]></DefaultUserID> <TrimmedSKUSelectionFields579><![CDATA[System.String[]]]></TrimmedSKUSelectionFields579> <SYSPROConnection><![CDATA[]]></SYSPROConnection> <SHC_CreateDate><![CDATA[10/25/2018 3:17:12 PM]]></SHC_CreateDate> <PersonalizationPopupctl01_ctl03_przPersonalization1><![CDATA[]]></PersonalizationPopupctl01_ctl03_przPersonalization1> <ItemCount><![CDATA[1]]></ItemCount> <SCH_refstring><![CDATA[/ecommerce/default.aspx]]></SCH_refstring> <FullRecalc><![CDATA[]]></FullRecalc> <refstring><![CDATA[]]></refstring> <userID><![CDATA[8]]></userID> <ViewList><![CDATA[]]></ViewList> <CartErrors><![CDATA[]]></CartErrors> </Session> </CyberStore> |