博世BOSCH DELFOR 交付预测报文详解

本文将从接收角度出发,带大家了解如何接收博世BOSCH发来的DELFOR交付预测报文,并将其转换为更易理解的XML格式。

在文章如何读懂EDIFACT报文?中,我们对EDIFACT已经做了详细的解读,大家可以以此为基础,开始深入了解 DELFOR交付预测。

本文将对符合EDIFACT国际报文标准的DELFOR交付预测报文进行详细解读,并且展示通过知行之桥EDI系统转换后得到的XML文件。

报文解读

1.博世BOSCH DELFOR 交付预测EDIFACT示例详解

UNA:+.? '
 
UNB+UNOC:3+BOSCH EDI-TEAM::1234+0123456789+131104:1319+0000100002++++++1'
 
- 3 = 版本3
 
- BOSCH EDI-TEAM = 发送方ID
 
- 1234 = BOSCH的工厂代码
 
- 0123456789 = BOSCH供应商ID
 
- 131104 = 文档创建日期
 
- 1319 = 文档创建时间
 
- 0000100002 = 和bosch进行报文交换参考标志码
 
- 1 = 测试标识符
 
 
 
UNH+1+DELFOR:D:04A:UN:GMI051'
 
- 1 = 消息参考号
 
- DELFOR = 报文类型
 
 
 
BGM+241::6+98765+9'
 
- 241 = 交付预测计划
 
- 98765 = 交付预测计划编号
 
- 9 = 表示原始订单
 
 
 
DTM+137:20130807:102'
 
- 137 = 交付预测计划日期限定符
 
- 20130807 = 交付预测计划创建日期
 
- 102 = 日期格式编码
 
 
 
FTX+ADU+++Sitz?: Stuttgart, Registergericht?: Amtsgericht Stuttgart, HRB 14000;:Aufsichtsratsvorsi
 
tzender?: Franz Fehrenbach; Geschäftsführung?::Volkmar Denner, Siegfried Dais; Stefan Asenkerschba
 
umer,:Bernd Bohr, Rudolf Colm, Dirk Hoheisel, Christoph Kübel,:Uwe Raschke, Wolf-Henning Scheider,
 
Werner Struth, Peter Tyroller+DE'
 
- ADU = 单据信息限定符
 
- DE = 语言编码,德语
 
 
 
FTX+AAI+++info 1:info 2:info 3:info 4:info 5'
 
- AAI =  一般信息限定符
 
- info 1 = 自由文本1
 
- info 2 = 自由文本2
 
- info 3 = 自由文本3
 
- info 4 = 自由文本4
 
- info 5 = 自由文本5
 
 
 
RFF+AGK:1234567890123'
 
- AGK = 参考编号限定符
 
- 1234567890123 = 参考编号
 
 
 
NAD+BY+1234::92++Buyer Name 1:Buyer Name 2+Buyer Street 1+Buyer City++94315+DE'
 
- BY= 买方限定符
 
- 1234 = 买方ID
 
- 92 = 买方或者买方机构规定的买方ID
 
- Buyer Name 1 = 买方名称1
 
- Buyer Name 2 = 买方名称2
 
- Buyer Street 1 = 买方街道
 
- Buyer City = 买方城市
 
- 94315 = 买方邮编
 
- DE = 买方城市代码,德国
 
 
 
RFF+VA:DE1234567890'
 
- VA= 增值税号限定符
 
- DE1234567890= 增值税号
 
 
 
CTA+IC+Buyer Purch. Dep.:Buyers Contact'
 
- IC = 买方联系人信息限定符
 
- Buyer Purch. Dep.:Buyers Contact = 买方联系人信息
 
 
 
COM+0049711811-0:TE'
 
- 0049711811-0 = 买方联系人电话
 
- TE = 联系人电话限定符
 
 
 
NAD+SE+123456789::92++Seller Name 1:Seller Name 2+Seller Street 2+Seller City++98765+DE'
 
- SE= 卖方限定符
 
- 123456789 = 卖方ID
 
- 92 = 买方或者买方机构规定的代码
 
- Seller Name 1 = 卖方名称1
 
- Seller Name 2 = 卖方名称2
 
- Seller Street 2 = 卖方街道
 
- Buyer City = 卖方城市
 
- 94315 = 卖方邮编
 
- DE = 卖方城市代码,德国
 
 
 
CTA+IC+Seller Department:Seller Contact'
 
- IC = 卖方联系人信息代码
 
- Seller Department:Seller Contact= 卖方联系人信息
 
 
 
COM+0049711811-1:TE'
 
- 0049711811-1 = 卖方联系人电话
 
- TE = 卖方联系人电话限定符
 
 
 
NAD+FW+987987::92++FW Name 1:FW Name 2+FW Street+FW City++88888+DE'
 
- FW= 承运商限定符
 
- 987987 = 承运商ID
 
- 92 = 买方或者买方机构规定的承运商ID
 
- FW Name 1 = 承运商名称1
 
- FW Name 2 = 承运商名称2
 
- FW Street = 承运商街道
 
- FW City = 承运商城市
 
- 88888 = 承运商邮编
 
- DE = 承运商城市代码,德国
 
 
 
NAD+IV+453423::92++IV Name 1:IV Name 2+IV Street 12+IV City++88888+DE'
 
- IV = 开票方限定符
 
- 453423 = 开票方ID
 
- 92 = 买方或者买方机构规定的开票方ID
 
- IV Name 1 = 开票方名称1
 
- IV Name 2 = 开票方名称2
 
- IV Street 12 = 开票方街道
 
- IV City = 开票方城市
 
- 88888 = 开票方邮编
 
- DE = 开票方城市代码,德国
 
 
 
CTA+IC+Invoicee Dep.:Invoicee Contact'
 
- IC = 开票方信息代码
 
- Invoicee Dep.:Invoicee Contact = 开票方信息
 
 
 
COM+?+49(711)811-0:TE'
 
- 49(711)811-0 = 开票方联系电话
 
- TE = 联系电话限定符
 
 
 
NAD+SF+67890::92++SF Name 1:SF Name 2+SF Street 12+SF City++6578+FR'
 
- SF = 发货方限定符
 
- 67890 = 发货方ID
 
- 92 = 买方或者买方机构规定的发货方ID
 
- SF Name 1 = 发货方名称1
 
- SF Name 2 = 发货方名称2
 
- SF Street 12 = 发货方街道
 
- SF City = 发货方城市
 
- 6578 = 发货方邮编
 
- FR = 发货方城市代码,法国
 
 
 
GEI+3+37'
 
- 3 = 收货计划类型限定符
 
- 37 = 完整信息
 
 
 
NAD+ST+0472::92++Ship-to Name 1:Ship-to Name 2+Ship-to Street 45+Ship-To City++87870+DE'
 
- ST = 收货方限定符
 
- 0472 = 收货方ID
 
- 92 = 买方或者买方机构规定的收货方ID
 
- Ship-to Name 1 = 收货方名称1
 
- Ship-to Name 2 = 收货方名称2
 
- Ship-to Street 45 = 收货方街道
 
- Ship-To City = 收货方城市
 
- 87870 = 收货方邮编
 
- DE = 收货方城市代码,德国
 
 
 
LOC+11+P0472::92'
 
- 11 = 卸货地点限定符
 
- P0472 = 卸货地点
 
- 92 = 买方或者买方机构规定的卸货地点
 
 
 
LOC+159+1000::92'
 
- 159 = 收货地点限定符
 
- 1000 = 收货地点
 
- 92 = 买方或者买方机构规定的代码
 
 
 
FTX+AAI+++DAP'
 
- AAI = 收货方限定符
 
- DAP = 收货方信息
 
 
 
CTA+IC+Ship-To Dep.:Ship-To Contact'
 
- IC = 收货方限定符
 
- Ship-To Dep.:Ship-To Contact = 收货方信息
 
 
 
COM+0049711811-2:TE'
 
- 0049711811-2 = 收货方联系电话
 
- TE = 联系电话限定符
 
 
 
LIN+1+1+buyers article number:IN'
 
- 1 = 物料行号
 
- 1 = 物料行编码,1表示新增物料;2表示删除物料
 
- buyers article number = 买方物料号
 
- IN = 买方物料编号
 
 
 
PIA+1+ABC012345:SA+11:EC'
 
- 1 = 附加限定符
 
- ABC012345 = 供应商物料编号
 
- SA = 供应商物料编号限定符
 
- 11 = 物料ID
 
- EC = 工程修改版本
 
 
 
IMD+F++:::item description::EN'
 
- F = 自由格式
 
- item description = 物料描述
 
- EN = 语言编码,英语
 
 
 
IMD+A++:::long form item description::EN'
 
- A = 自由格式
 
- long form item description = 物料描述
 
- EN = 语言编码,英语
 
 
 
ALI+DE'
 
- DE = 物料原产国,德国
 
 
 
FTX+AAI+++posinfo1:posinfo2:posinfo3:posinfo 4:posinfo 5+EN'
 
- AAI =  一般信息限定符
 
- posinfo1 = 自由文本1
 
- posinfo2 = 自由文本2
 
- posinfo3 = 自由文本3
 
- posinfo 4 = 自由文本4
 
- posinfo 5 = 自由文本5
 
- EN = 语言编码,英语
 
 
 
RFF+AAN:000000002'
 
- AAN = 交付预测计划单号限定符
 
- 000000002 = 交付预测计划单号
 
 
 
DTM+137:20130807:102'
 
- 137 = 交付预测计划时间限定符
 
- 20130807 = 交付预测计划日期
 
- 102 = 日期格式编码
 
 
 
RFF+AIF:000000001'
 
- AIF = 上次交付预测计划单号限定符
 
- 000000001 = 上次交付预测计划单号
 
 
 
DTM+137:20130101:102'
 
- 137 = 上次交付预测计划时间限定符
 
- 20130101 = 上次交付预测计划日期
 
- 102 = 日期格式编码
 
 
 
RFF+ON:1234567890:0010'
 
- ON = 买方订单号限定符
 
- 1234567890 = 买方订单号
 
- 0010 = 订单行号
 
 
 
DTM+137:20130807:102'
 
- 137 = 买方订单时间限定符
 
- 20130807 = 买方订单时间
 
- 102 = 日期格式编码
 
 
 
QTY+194:500:EA'
 
- 194 = 上次运输接收数量限定符
 
- 500 = 上次运输接收数量
 
- EA = 测量单位
 
 
 
RFF+AAU:LSNR1234'
 
- AAU = 上次运输编号限定符
 
- LSNR1234 = 上次运输编号
 
 
 
DTM+171:20130505:102'
 
- 171 = 上次运输日期限定符
 
- 20130505 = 上次运输日期
 
- 102 = 日期格式编码
 
 
 
QTY+70:50000:EA'
 
- 70 = 累计交货数量限定符
 
- 50000 = 累计交货数量
 
- EA = 测量单位
 
 
 
DTM+51:20100101:102'
 
- 51 = 累计交货起始日期限定符
 
- 20100101 = 累计交货起始日期
 
- 102 = 日期格式编码
 
 
 
QTY+83:500:EA'
 
- 83 = 缺货数量限定符
 
- 500 = 缺货数量
 
- EA = 测量单位
 
 
 
SCC+4++M'
 
- 4= 计划类型,计划/预测
 
- M= 频率代码,每月
 
 
 
QTY+113:100:EA'
 
- 113 = 需交货数量限定符
 
- 100 = 需交货数量
 
- EA = 测量单位
 
 
 
DTM+2:20131201:102'
 
- 2 = 计划交货日期限定符
 
- 20131201 = 计划交货日期
 
- 102 = 日期格式编码
 
 
 
DTM+64:20131201:102'
 
- 64 = 最早交货日期限定符
 
- 20131201 = 最早交货日期
 
- 102 = 日期格式编码
 
 
 
DTM+63:20131231:102'
 
- 63 = 最晚交货日期限定符
 
- 20131231 = 最晚交货日期
 
- 102 = 日期格式编码
 
 
 
DTM+10:20131131:102'
 
- 10 = 要求交货日期限定符
 
- 20131131 = 要求交货日期
 
- 102 = 日期格式编码
 
 
 
QTY+3:50100:EA'
 
- 3 = 累计数量限定符
 
- 50100 = 累计数量
 
- EA = 测量单位
 
 
 
SCC+2'
 
- 2 = 交付预测计划水平,制造和原材料
 
 
 
QTY+242:1'
 
- 242 = 授权日期月数限定符
 
- 1 = 授权日期月数
 
 
 
DTM+160:20140301:102'
 
- 160 = 授权日期限定符
 
- 20140301 = 授权日期
 
- 102 = 日期格式编码
 
 
 
UNT+54+1'
 
UNZ+1+0000100002'

2.博世BOSCH DELFOR 交付预测XML示例详解

通过知行之桥EDI系统,将上述示例EDIFACT文件进行格式转换后,得到的XML文件示例如下:

<?xml version="1.0" encoding="UTF-8"?>
 
<EDI_DELFOR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 
  <Version></Version>
 
  <Mode></Mode>
 
  <!--交付预测计划-->
 
  <MessageNameCode>241</MessageNameCode>
 
  <!--交付预测计划编号-->
 
  <MessageNumber>98765</MessageNumber>
 
  <!--表示原始订单-->
 
  <MessageFunctionCode>9</MessageFunctionCode>
 
  <!--交付预测计划创建日期-->
 
  <DocumentMessageDateTimeInfo>
 
    <DateOrTimeOrPeriod>20130807</DateOrTimeOrPeriod>
 
  </DocumentMessageDateTimeInfo>
 
  <!-- 单据信息 -->
 
  <FreeTextDetail>
 
    <Text>Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;</Text>
 
    <Text2>Aufsichtsratsvorsi tzender: Franz Fehrenbach; Geschäftsführung:</Text2>
 
    <Text3>Volkmar Denner, Siegfried Dais; Stefan Asenkerschbaumer,</Text3>
 
    <Text4>Bernd Bohr, Rudolf Colm, Dirk Hoheisel, Christoph Kübel,</Text4>
 
    <Text5>Uwe Raschke, Wolf-Henning Scheider,Werner Struth, Peter Tyroller</Text5>
 
    <!--语言编码,德语-->
 
    <LanguageCode>DE</LanguageCode>
 
  </FreeTextDetail>
 
  <!--一般信息1-5-->
 
  <FreeTextDetail>
 
    <Text>info 1</Text>
 
    <Text2>info 2</Text2>
 
    <Text3>info 3</Text3>
 
    <Text4>info 4</Text4>
 
    <Text5>info 5</Text5>
 
    <LanguageCode></LanguageCode>
 
  </FreeTextDetail>
 
  <Reference>
 
  <!--参考编号-->
 
  <ApplicationReferenceNumber>1234567890123</ApplicationReferenceNumber>
 
  </Reference>
 
  <!--买方信息-->
 
  <BuyerInfo>
 
    <!--买方ID-->
 
    <PartyId>1234</PartyId>
 
    <!--买方名称-->
 
    <PartyName>Buyer Name 1</PartyName>
 
    <PartyName2>Buyer Name 2</PartyName2>
 
    <!--买方街道-->
 
    <StreetAndNumberOrPostOfficeBox>Buyer Street 1</StreetAndNumberOrPostOfficeBox>
 
    <!--买方城市名称-->
 
    <CityName>Buyer City</CityName>
 
    <!--买方邮编-->
 
    <PostCodeIdentification>94315</PostCodeIdentification>
 
    <Reference>
 
       <!--买方增值税号-->
 
       <BuyerVATRegistrationNumber>DE1234567890</BuyerVATRegistrationNumber>
 
       <VATRegistrationNumber></VATRegistrationNumber>
 
    </Reference>
 
    <!--买方联系人信息-->
 
    <ContactInformation>
 
      <DepartmentOrEmployee>
 
        <!--买方联系人-->
 
        <BuyerIdentification>Buyer Purch. Dep.</BuyerIdentification>
 
        <!--买方联系人姓名-->
 
        <BuyerName>Buyers Contact</BuyerName>
 
      </DepartmentOrEmployee>
 
      <CommunicationContact>
 
        <BuyerCommunicationAddressIdentifier>0049711811-0</BuyerCommunicationAddressIdentifier>
 
        <BuyerCommunicationMeansTypeCode>TE</BuyerCommunicationMeansTypeCode>
 
      </CommunicationContact>
 
    </ContactInformation>
 
  </BuyerInfo>
 
 
 
  <!--卖方信息-->
 
  <SellerInfo>
 
     <!--卖方编号-->
 
    <PartyId>123456789</PartyId>
 
    <!--卖方名称-->
 
    <PartyName>Seller Name 1</PartyName>
 
    <PartyName2>Seller Name 2</PartyName2>
 
    <!--卖方街道名称-->
 
    <StreetAndNumberOrPostOfficeBox>Seller Street 2</StreetAndNumberOrPostOfficeBox>
 
    <!--卖方城市名称-->
 
    <CityName>Seller City</CityName>
 
    <!--卖方邮编-->
 
    <PostCodeIdentification>98765</PostCodeIdentification>
 
    <!--卖方联系信息-->
 
    <ContactInformation>
 
    <!--卖方联系部门/联系人-->
 
    <DepartmentOrEmployee>
 
        <Sellerldentification>Seller Department</Sellerldentification>
 
        <SellerName>Seller Contact</SellerName>
 
    </DepartmentOrEmployee>
 
    <CommunicationContact>
 
    <!--卖方联系人电话-->
 
    <SellerCommunicationAddressIdentifier>0049711811-1</SellerCommunicationAddressIdentifier>
 
        <SellerCommunicationMeansTypeCode>TE</SellerCommunicationMeansTypeCode>
 
      </CommunicationContact>
 
    </ContactInformation>
 
  </SellerInfo>
 
 
 
  <!--开票方信息-->
 
  <InvoiceInfo>
 
    <!--开票方编码-->
 
    <PartyId>453423</PartyId>
 
    <!--开票方名称-->
 
        <PartyName>IV Name 1</PartyName>
 
    <PartyName2>IV Name 2</PartyName2>
 
    <!--开票方街道-->
 
    <StreetAndNumberOrPostOfficeBox>IV Street 12</StreetAndNumberOrPostOfficeBox>
 
    <!--开票方城市-->
 
    <CityName>IV City</CityName>
 
    <!--开票方邮编-->
 
    <PostCodeIdentification>88888</PostCodeIdentification>
 
    <ContactInformation>
 
        <!--开票方信息-->
 
        <DepartmentOrEmployee>
 
          <Invoiceldentification>Invoicee Dep.</Invoiceldentification>
 
          <InvoiceName>Invoicee Contact</InvoiceName>
 
        </DepartmentOrEmployee>
 
        <CommunicationContact>
 
            <!--开票方联系电话-->
 
            <InvoiceCommunicationAddressIdentifier>+49(711)811-0</InvoiceCommunicationAddressIdentifier>
 
            <InvoiceSellerCommunicationMeansTypeCode>TE</InvoiceSellerCommunicationMeansTypeCode>
 
        </CommunicationContact>
 
    </ContactInformation>
 
  </InvoiceInfo>
 
 
 
<!--承运商信息-->
 
  <FreightforwarderInfo>
 
    <!--承运商ID-->
 
    <PartyId>987987</PartyId>
 
    <!--承运商名称-->
 
    <PartyName>FW Name 1</PartyName>
 
    <PartyName2>FW Name 2</PartyName2>
 
    <!--承运商街道-->
 
    <StreetAndNumberOrPostOfficeBox>FW Street</StreetAndNumberOrPostOfficeBox>
 
    <!--承运商城市-->
 
    <CityName>FW City</CityName>
 
    <!--承运商邮编-->
 
    <PostCodeIdentification>88888</PostCodeIdentification>
 
  </FreightforwarderInfo>
 
 
 
  <!--发货方信息-->
 
  <ShipFromInfo>
 
    <!--发货方ID-->
 
    <PartyId>67890</PartyId>
 
    <!--发货方名称-->
 
    <PartyName>SF Name 1</PartyName>
 
    <PartyName2>SF Name 2</PartyName2>
 
    <!--发货方城市-->
 
    <CityName>SF City</CityName>
 
    <!--发货方邮编-->
 
    <PostCodeIdentification>6578</PostCodeIdentification>
 
  </ShipFromInfo>
 
  <ProcessingInformation>
 
<ProcessingIndicator>37</ProcessingIndicator>
 
 
 
  <!--收货方信息-->
 
  <ShipToInfo>
 
      <!--收货方ID-->
 
      <PartyId>0472</PartyId>
 
      <!--收货方姓名-->
 
      <PartyName>Ship-to Name 1</PartyName>
 
      <PartyName2>Ship-to Name 2</PartyName2>
 
      <!--收货方街道-->
 
      <StreetAndNumberOrPostOfficeBox>Ship-to Street 45</StreetAndNumberOrPostOfficeBox>
 
      <!--收货方城市-->
 
      <CityName>Ship-To City</CityName>
 
      <!--收货方邮编-->
 
      <PostCodeIdentification>87870</PostCodeIdentification>
 
      <AdditionalInternalDestination>
 
        <!--收货地点-->
 
        <LocationIdentification>
 
          <ShipToLocationID>1000</ShipToLocationID>
 
        </LocationIdentification>
 
      </AdditionalInternalDestination>
 
      <PlaceOrPortOfDischarge>
 
        <LocationIdentification>
 
          <!--卸货地点-->
 
          <ShipToLocationID>P0472</ShipToLocationID>
 
        </LocationIdentification>
 
      </PlaceOrPortOfDischarge>
 
      <ContactInformation>
 
        <DepartmentOrEmployee>
 
          <!--收货方信息-->
 
          <Identification>Ship-To Dep.</Identification>
 
          <ShipToName>Ship-To Contact</ShipToName>
 
        </DepartmentOrEmployee>
 
        <CommunicationContact>
 
        <!--收货方联系电话-->
 
        <ShipToCommunicationAddressIdentifier>0049711811-2</ShipToCommunicationAddressIdentifier>
 
          <ShipToCommunicationMeansTypeCode>TE</ShipToCommunicationMeansTypeCode>
 
        </CommunicationContact>
 
      </ContactInformation>
 
  </ShipToInfo>
 
 
 
    <!--物料信息-->
 
    <Item>
 
      <!--物料行号-->
 
      <LineItemNumber>1</LineItemNumber>
 
      <!--物料行编码,1表示新增物料;2表示删除物料-->
 
      <ActionRequestNotificationCode>1</ActionRequestNotificationCode>
 
      <!--买方物料号-->
 
      <BuyerItemNumber>buyers article number</BuyerItemNumber>
 
      <AdditionalProductIdentification>
 
        <!--供应商物料编号-->
 
        <SupplierItemNumberIdentification>ABC012345</ItemNumberIdentification>
 
        <ItemNumberIdentification2>
 
          <!--物料ID-->
 
          <EngineeringChangeLevel>11</EngineeringChangeLevel>
 
          <!--产品版本号-->
 
          <ProductVersionNumber></ProductVersionNumber>
 
          <!-- 图纸修订号 -->
 
          <DrawingRevisionNumber></DrawingRevisionNumber>
 
          <!-- 文章惯用编号 -->
 
          <CustomsArticleNumber></CustomsArticleNumber>
 
        </ItemNumberIdentification2>
 
      </AdditionalProductIdentification>
 
      <ItemDescription>
 
        <!--物料描述-->
 
        <ItemDescription>
 
          <Description>item description</Description>
 
        </ItemDescription>
 
      </ItemDescription>
 
      <ItemDescription>
 
        <ItemDescription>
 
          <Description>long form item description</Description>
 
        </ItemDescription>
 
      </ItemDescription>
 
      <AdditionalInformation></AdditionalInformation>
 
      <!--原产国信息-->
 
      <CountryOfOrigin>
 
      <!--物料原产国:德国-->
 
        <CountryOfOrigin>DE</CountryOfOrigin>
 
      </CountryOfOrigin>
 
      <!--自由文本-->
 
      <FreeTextDetail>
 
        <Text>posinfo1</Text>
 
        <Text2>posinfo2</Text2>
 
        <Text3>posinfo3</Text3>
 
        <Text4>posinfo 4</Text4>
 
        <Text5>posinfo 5</Text5>
 
      </FreeTextDetail>
 
      <Reference>
 
        <!--交付预测计划单号-->
 
        <DeliveryScheduleNumber>000000002</DeliveryScheduleNumber>
 
        <!--交付预测计划日期-->
 
        <DocumentMessageDateTimeInfo>
 
          <DateOrTimeOrPeriod>20130807</DateOrTimeOrPeriod>
 
        </DocumentMessageDateTimeInfo>
 
      </Reference>
 
      <Reference>  
 
    <!--上次交付预测计划单号-->
 
    <PreviousDeliveryInstructionNumber>000000001</PreviousDeliveryInstructionNumber>
 
        <DocumentMessageDateTimeInfo>
 
          <!--上次交付预测计划日期-->
 
          <DateOrTimeOrPeriod>20130101</DateOrTimeOrPeriod>
 
        </DocumentMessageDateTimeInfo>
 
      </Reference>
 
      <Reference>
 
        <!--买方订单号-->
 
        <PurchaseOrderNumber>1234567890</PurchaseOrderNumber>
 
         <!--买方订单行号-->
 
        <PurchaseOrderLineNumber>0010</PurchaseOrderLineNumber>
 
        <DocumentMessageDateTimeInfo>
 
        <!--买方订单日期-->
 
          <DateOrTimeOrPeriod>20130807</DateOrTimeOrPeriod>
 
        </DocumentMessageDateTimeInfo>
 
      </Reference>
 
      <Quantity>
 
        <!--上次运输接收数量-->
 
        <ReceivedAndAcceptedQuantity>500</ReceivedAndAcceptedQuantity>
 
      </Quantity>
 
      <QuantityDetail>
 
        <Reference>
 
          <!--上次运输编号-->
 
          <DespatchNoteDocumentIdentifier>LSNR1234</DespatchNoteDocumentIdentifier>
 
          <ReferenceDateTimeInfo>
 
            <!--上次运输日期-->
 
            <DateOrTimeOrPeriod>20130505</DateOrTimeOrPeriod>
 
          </ReferenceDateTimeInfo>
 
        </Reference>
 
      </QuantityDetail>
 
      <!--累计交货数量-->
 
      <Quantity>
 
        <CumulativeQuantityReceived>50000</CumulativeQuantityReceived>
 
      </Quantity>
 
        <!-- 累计数量起始日期-->
 
        <CumulativeQuantityStartDateInfo>
 
            <DateOrTimeOrPeriod>20100101</DateOrTimeOrPeriod>
 
        </CumulativeQuantityStartDateInfo>
 
      <!--缺货数量-->
 
      <Quantity>
 
        <BackorderQuantity>500</BackorderQuantity>
 
      </Quantity>
 
      <SchedulingConditions>
 
      <!--计划类型-->
 
        <DeliveryPlanStatusIndicatorCode>4</DeliveryPlanStatusIndicatorCode>
 
      <!--计划频率-->
 
        <FrequencyCode>M</FrequencyCode>
 
        <QuantityDetail>
 
          <!--需交货数量-->
 
          <QuantityToBeDelivered>100</QuantityToBeDelivered>
 
          <DeliveryDateTimeRequestedInfo>
 
            <!--计划交货日期-->
 
            <DateOrTimeOrPeriod>20131201</DateOrTimeOrPeriod>
 
          </DeliveryDateTimeRequestedInfo>
 
          <!--最早交货日期-->
 
          <EarliestDeliveryDateTimeInfo>
 
            <DateOrTimeOrPeriod>20131201</DateOrTimeOrPeriod>
 
          </EarliestDeliveryDateTimeInfo>
 
          <!--最晚交货日期-->
 
          <LatestDeliveryDateTimeInfo>
 
            <DateOrTimeOrPeriod>20131231</DateOrTimeOrPeriod>
 
          </LatestDeliveryDateTimeInfo>
 
          <!--要求交货日期-->
 
          <ShipmentDateTimeRequestedInfo>
 
            <DateOrTimeOrPeriod>20131131</DateOrTimeOrPeriod>
 
          </ShipmentDateTimeRequestedInfo>
 
        </QuantityDetail>
 
        <QuantityDetail>
 
          <!--累计数量-->
 
          <CumulativeQuantity>50100</CumulativeQuantity>
 
          <!-- 累计数量起始日期-->
 
          <CumulativeQuantityStartDateInfo>
 
            <DateOrTimeOrPeriod>20100101</DateOrTimeOrPeriod>
 
          </CumulativeQuantityStartDateInfo>
 
          <!-- 缺货说明 -->
 
          <Reference>            <DespatchNoteDocumentIdentifier></DespatchNoteDocumentIdentifier>
 
            <ReferenceDateTimeInfo>
 
              <!-- 缺货日期 -->
 
              <DateOrTimeOrPeriod></DateOrTimeOrPeriod>
 
            </ReferenceDateTimeInfo>
 
          </Reference>
 
        </QuantityDetail>
 
      </SchedulingConditions>
 
      <SchedulingConditions>
 
        <!--交付预测计划水平,制造和原材料-->
 
        <DeliveryPlanStatusIndicatorCode>2</DeliveryPlanStatusIndicatorCode>
 
        <!--频率代码-->
 
        <FrequencyCode></FrequencyCode>
 
        <QuantityDetail>
 
          <NumberOfMonths>242</NumberOfMonths>
 
          <AuthorizationDateTimeInfo>
 
            <!--授权日期-->
 
            <DateOrTimeOrPeriod>20140301</DateOrTimeOrPeriod>
 
          </AuthorizationDateTimeInfo>
 
          <!--最早交货日期-->
 
          <EarliestDeliveryDateTimeInfo>
 
            <DateOrTimeOrPeriod></DateOrTimeOrPeriod>
 
          </EarliestDeliveryDateTimeInfo>
 
          <!--最晚交货日期-->
 
          <LatestDeliveryDateTimeInfo>
 
            <DateOrTimeOrPeriod></DateOrTimeOrPeriod>
 
          </LatestDeliveryDateTimeInfo>
 
          <!--要求交货日期-->
 
          <ShipmentDateTimeRequestedInfo>
 
            <DateOrTimeOrPeriod></DateOrTimeOrPeriod>
 
          </ShipmentDateTimeRequestedInfo>
 
        </QuantityDetail>
 
      </SchedulingConditions>
 
    </Item>
 
  </ProcessingInformation>
 
</EDI_DELFOR>

工作流示例
通过上述的讲解想必大家已经了解了博世BOSCH DELFOR交付预测在知行之桥EDI系统中的转换流程了,以下是上述工作流示例,您可以下载知行之桥EDI系统,导入【示例工作流】以及【DELFOR 交付预测 测试文件】,进行实战操作。

 下载 博世 BOSCH DELFOR 工作流以及测试文件

在知行之桥EDI系统中导入上述工作流以及测试文件

1.下载示例工作流以及 DELFOR测试文件

解压后的示例工作流名为 BOSCH_DELFOR_IN.arcflow,测试文件名为:BOSCH_DELFOR.edi

2.在知行之桥EDI系统中上传上述工作流

创建工作区

首先在知行之桥EDI系统的 工作流 选项卡中,点击右上方的齿轮图标,点击 +创建工作区,您可以对工作区进行自定义的命名,示例中我们将其命名为:
BOSCH_DELFOR_IN


导入工作流

接下来需要点击 导入工作区 选择导入。或者您可以直接将BOSCH_DELFOR.arcflow工作流拖拽至中央空白区域即可。

导入工作流之后的结果如下图所示:


上传测试文件:在 BOSCH_EDIFACTToXML端口的 输入 选项卡下,点击 更多 ,上传测试文件:BOSCH_DELFOR_Sample.edi。

下载转换后的测试文件:在 BOSCH_XMLMap_DELFOR 端口的 输出 选项卡下,点击 BOSCH_DELFOR_Sample_0000100002.xml ,即可下载文件,看到转换后的效果。
————————————————
版权声明:本文为CSDN博主「知行EDI」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/Cara_EDI_Consultant/article/details/126996089

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值