Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xml 引用到punchout中的订单参考_Xml_E Commerce_Cxml - Fatal编程技术网

Xml 引用到punchout中的订单参考

Xml 引用到punchout中的订单参考,xml,e-commerce,cxml,Xml,E Commerce,Cxml,当买家从我的punchout目录中检索到报价/订单时,我试图弄清楚如何维护“报价到订单”引用 我的意思是,当供应商目录以“punchootordermessage”的形式将产品发送回买方申请系统时,供应商没有地方输入报价id。我已经查看了cxml规范,但没有看到任何内容。我错过什么了吗 我已经包括了一个样本“punchoutoremessage”。有人能帮我弄清楚如何将报价ID发送回买家吗 <?xml version="1.0" encoding="utf-8"?> <!DOC

当买家从我的punchout目录中检索到报价/订单时,我试图弄清楚如何维护“报价到订单”引用

我的意思是,当供应商目录以“punchootordermessage”的形式将产品发送回买方申请系统时,供应商没有地方输入报价id。我已经查看了cxml规范,但没有看到任何内容。我错过什么了吗

我已经包括了一个样本“punchoutoremessage”。有人能帮我弄清楚如何将报价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>

测试公司
试验场
Punchooutresponse
尖晶石
PSFT_2008-12-24T10:44:00-06:00
205.34
123
102.67
压力表
每个
123
123
测试制造商

供应商Part AuxiliaryId”节点设计用于供应商获取您希望随报价单传递的任何数据(punchoutordermessage),这些数据将通过请购单管理与订单一起存储,传输到采购订单,并随订单消息返回给您。这是您可以发送报价id(或报价id/行号)的地方。

我们将使用外部元素

    <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>

1.23
产品123
英尺
31151601
1234
测试公司
12345
1.

谢谢您的回复。我将在接下来的几周内对此进行测试,它是有效的,我会回来把它标记为一个答案我实际上已经对此做了更多的研究,我不认为这是正确的方法。。。一旦我们完成此实现,我将返回另一个更新。