博世BOSCHDELFOR交付预测报文详解(博世BOSCHDELFOR交付预测报文详解)
本文将从接收角度出发,带大家了解如何接收博世BOSCH发来的DELFOR交付预测报文,并将其转换为更易理解的XML格式。
在文章如何读懂EDIFACT报文?中,我们对EDIFACT已经做了详细的解读,大家可以以此为基础,开始深入了解 DELFOR交付预测。
本文将对符合EDIFACT国际报文标准的DELFOR交付预测报文进行详细解读,并且展示通过知行之桥EDI系统转换后得到的XML文件。
报文解读
1.博世BOSCH DELFOR 交付预测EDIFACT示例详解
1 2 3 4
| |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 |
<?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 ,即可下载文件,看到转换后的效果。
,免责声明:本文仅代表文章作者的个人观点,与本站无关。其原创性、真实性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容文字的真实性、完整性和原创性本站不作任何保证或承诺,请读者仅作参考,并自行核实相关内容。文章投诉邮箱:anhduc.ph@yahoo.com