在打孔中引用订单参考

时间:2013-05-15 15:05:27

标签: xml e-commerce cxml

我想弄清楚当买家从我的穿孔目录中检索报价/订单时如何维持报价以便订购参考。

我的意思是,当供应商目录在“PunchoutOrderMessage”中将产品发回买方的请购单系统时,供应商没有地方输入报价ID。我查看了cxml规范,但我没有看到任何内容。我错过了什么吗?

我添加了一个样本“punchoutordermessage”。任何人都可以帮我弄清楚如何将报价ID发回给买家吗?

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">
<cXML payloadID="2008-12-24T10:46:32-06:00@www.test.com" xml:lang="en-US" timestamp="2008-12-24T10:46:32-06:00">
  <Header>
    <From>
      <Credential domain="NetworkId">
        <Identity>testcompany</Identity>
      </Credential>
    </From>
    <To>
      <Credential domain="NetworkId">
        <Identity>testsite</Identity>
      </Credential>
    </To>
    <Sender>
      <Credential domain="www.testsite.com">
        <Identity>PunchoutResponse</Identity>
      </Credential>
      <UserAgent>PunchoutSite</UserAgent>
    </Sender>
  </Header>
  <Message>
    <PunchOutOrderMessage>
      <BuyerCookie>PSFT_2008-12-24T10:44:00-06:00</BuyerCookie>
      <PunchOutOrderMessageHeader operationAllowed="edit">
        <Total>
          <Money currency="USD">205.34</Money>
        </Total>
      </PunchOutOrderMessageHeader>
      <ItemIn quantity="2">
        <ItemID>
          <SupplierPartID>123</SupplierPartID>
          <SupplierPartAuxiliaryID />
        </ItemID>
        <ItemDetail>
          <UnitPrice>
            <Money currency="USD">102.67</Money>
          </UnitPrice>
          <Description xml:lang="en-US">PRESSURE GAUGE</Description>
          <UnitOfMeasure>EA</UnitOfMeasure>
          <Classification domain="UNSPSC">123</Classification>
          <ManufacturerPartID>123</ManufacturerPartID>
          <ManufacturerName>testManufacturer</ManufacturerName>
        </ItemDetail>
      </ItemIn>
    </PunchOutOrderMessage>
  </Message>
</cXML>

2 个答案:

答案 0 :(得分:1)

“SupplierPartAuxiliaryID”节点旨在供供应商用于您希望通过报价(punchoutordermessage)传递的任何数据,该报价将通过请购单管理与订单一起存储,转移到采购订单,并返回给您与订单消息。您可以在此处发送您的报价ID(或报价ID /行号)。

答案 1 :(得分:0)

我们将使用外在元素。

    <ItemIn quantity="1"> 
         <ItemDetail> 
           <UnitPrice> 
               <Money currency="USD">1.23</Money> 
          </UnitPrice> 
          <Description xml:lang="en-US">product 123</Description> 
          <UnitOfMeasure>FT</UnitOfMeasure> 
          <Classification domain="UNSPSC">31151601</Classification> 
          <ManufacturerPartID>1234</ManufacturerPartID> 
          <ManufacturerName>Test Company</ManufacturerName> 
          <Extrinsic name="QuoteId">12345</Extrinsic>
          <Extrinsic name="QuoteLine">1</Extrinsic>
         </ItemDetail> 
   </ItemIn>