本文将从发送角度出发,带大家了解如何给博世BOSCH发送DESADV发货通知报文,并将其转换为博世BOSCH要求的EDIFACT格式。
在文章如何读懂EDIFACT报文?中,我们对EDIFACT已经做了详细的解读,大家可以以此为基础,开始深入了解 DESADV发货通知。
本文将对符合EDIFACT国际报文标准的DESADV发货通知报文进行详细解读,并且展示通过知行之桥EDI系统转换后得到的EDIFACT文件。
下图为BOSCH DESADV发货通知示例报文转换前及经过知行之桥EDI系统转换后的结果对比图。
利用知行之桥EDI系统可以将XML文件转换为符合国际标准的 EDIFACT文件,再通过EDI系统发送给BOSCH即可,企业可以从自己的业务系统中生成如下XML文件,或者将自己的业务数据填进如下的XML文件。每个字段的业务含义都已做了明确的注释。
1.博世BOSCH发货通知 XML 模板详解
代码语言:javascript复制<?xml version="1.0" encoding="utf8"?>
<EDI_DESADV>
<Version>1.0.0</Version>
<!--UNB-->
<Mode RefDes="UNB11">T</Mode>
<!--可填写T或者P,T为测试模式,P为生产模式-->
<!--BGM-->
<MessageNameCode RefDes="BGM0101">351</MessageNameCode>
<!--可填写343/351,343为货运代理提货通知限定符,351为发货通知限定符-->
<MessageName RefDes="BGM0104">KANBAN</MessageName>
<!--与DELJIT相关的发货通知-->
<MessageNumber RefDes="BGM0201">Test MessageNumber</MessageNumber>
<!--发货编号-->
<MessageFunctionCode RefDes="BGM03">9</MessageFunctionCode>
<!--原始文件-->
<DocumentMessageDateTimeInfo qualifier="DTM01/DTM0101:137">
<!--DTM-->
<DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
<!--文件日期-->
<DateTimePeriodFormatQualifier RefDes="DTM0103">102</DateTimePeriodFormatQualifier>
<!--文件日期格式限定符:102 CCYYMMDD,203 CCYYMMDDHHMM-->
</DocumentMessageDateTimeInfo>
<EstimatedArrivalDateTimeInfo qualifier="DTM01/DTM0101:132">
<!--DTM-->
<DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
<!--预计运输抵达日期-->
<DateTimePeriodFormatQualifier RefDes="DTM0103">102</DateTimePeriodFormatQualifier>
<!--预计运输抵达日期格式限定符:102 CCYYMMDD,203 CCYYMMDDHHMM-->
</EstimatedArrivalDateTimeInfo>
<ShipmentDateTimeRequestedInfo qualifier="DTM01/DTM0101:10">
<!--DTM-->
<DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
<!--指定的运输日期-->
<DateTimePeriodFormatQualifier RefDes="DTM0103">102</DateTimePeriodFormatQualifier>
<!--指定的运输日期格式限定符:102 CCYYMMDD,203 CCYYMMDDHHMM-->
</ShipmentDateTimeRequestedInfo>
<ConsignmentMeasurement qualifier="MEA01:AAX">
<!--寄售测量-->
<!--MEA-->
<MeasurementDimentionCode RefDes="MEA0201">AAD</MeasurementDimentionCode>
<!--可填写AAD/AAL/ABJ,AAD:托运总重量限定符;AAL:净重;ABJ:体积-->
<UnitOfMeasurement RefDes="MEA0301">KGM</UnitOfMeasurement>
<!--计量单位,可填写KGM/MTQ,KGM:千克;MTQ:立方米-->
<MeasurementValue RefDes="MEA0302">Test MeasurementValue</MeasurementValue>
<!--测量值,托运总重量/净重/体积-->
</ConsignmentMeasurement>
<Reference>
<!--RFFLoop1-->
<!--RFF-->
<TransportContractDocumentIdentifier RefDes="RFF0102" qualifier="RFF0101:AAS">Test TransportContractDocumentIdentifier</TransportContractDocumentIdentifier>
<!--运输合同文件ID-->
</Reference>
<Reference>
<UniqueGoodsShipmentIdentifier RefDes="RFF0102" qualifier="RFF0101:AVU">Test UniqueGoodsShipmentIdentifier</UniqueGoodsShipmentIdentifier>
<!--特殊货物运输ID-->
</Reference>
<Reference>
<TransportContractReferenceNumber RefDes="RFF0102" qualifier="RFF0101:AHI">Test TransportContractReferenceNumber</TransportContractReferenceNumber>
<!--运输合同参考号-->
</Reference>
<BuyerInfo qualifier="NAD01:BY">
<!--NADLoop1-->
<!--NAD-->
<PartyId RefDes="NAD0201">Test PartyId</PartyId>
<!--买方ID-->
<CodeListResponsibleAgencyCode RefDes="NAD0203">91</CodeListResponsibleAgencyCode>
<!--可填写91/92,91:由卖方指定,92:由买方指定-->
<PartyName RefDes="NAD0401">Test PartyName</PartyName>
<!--买方名称-->
<PartyName2 RefDes="NAD0402">Test PartyName2</PartyName2>
<!--买方名称2-->
<StreetAndNumberOrPostOfficeBox RefDes="NAD0501">Test StreetAndNumberOrPostOfficeBox</StreetAndNumberOrPostOfficeBox>
<!--买方街道-->
<CityName RefDes="NAD06">Test CityName</CityName>
<!--买方城市名-->
<CountrySubEntityDetail RefDes="NAD07">
<NameCode RefDes="NAD0701">Test NameCode</NameCode>
<!--买方城市详细信息-->
</CountrySubEntityDetail>
<PostCodeIdentification RefDes="NAD08">Test PostCodeIdentification</PostCodeIdentification>
<!--买方邮编-->
<CountryCode RefDes="NAD09">DE</CountryCode>
<!--买方国家ID,例如:DE为德国-->
<ContactInformation>
<!--CTALoop1-->
<!--CTA-->
<ContactFunctionCode RefDes="CTA01">IC</ContactFunctionCode>
<!--买方联系信息限定符-->
<DepartmentOrEmployee RefDes="CTA02">
<Identification RefDes="CTA0201">Test Identification</Identification>
<!--买方联系ID-->
<Name RefDes="CTA0202">Test Name</Name>
<!--买方联系姓名-->
</DepartmentOrEmployee>
<CommunicationContact>
<!--COM-->
<CommunicationAddressIdentifier RefDes="COM0101">Test CommunicationAddressIdentifier</CommunicationAddressIdentifier>
<!--买方联系地址ID-->
<CommunicationMeansTypeCode RefDes="COM0102">TE</CommunicationMeansTypeCode>
<!--买方联系方式限定符可填写:FX/TE/EM,FX:传真;TE:电话;EM:电子邮件-->
</CommunicationContact>
</ContactInformation>
</BuyerInfo>
<SellerInfo qualifier="NAD01:SE">
<!--NADLoop1-->
<!--NAD-->
<PartyId RefDes="NAD0201">Test PartyId</PartyId>
<!--卖方ID-->
<CodeListResponsibleAgencyCode RefDes="NAD0203">92</CodeListResponsibleAgencyCode>
<!--92:由买方指定-->
<PartyName RefDes="NAD0401">Test PartyName</PartyName>
<!--卖方名称-->
<PartyName2 RefDes="NAD0402">Test PartyName2</PartyName2>
<!--卖方名称2-->
<StreetAndNumberOrPostOfficeBox RefDes="NAD0501">Test StreetAndNumberOrPostOfficeBox</StreetAndNumberOrPostOfficeBox>
<!--卖方街道-->
<CityName RefDes="NAD06">Test CityName</CityName>
<!--卖方城市名-->
<CountrySubEntityDetail RefDes="NAD07">
<NameCode RefDes="NAD0701">Test NameCode</NameCode>
<!--卖方国家或地区细分-->
</CountrySubEntityDetail>
<PostCodeIdentification RefDes="NAD08">Test PostCodeIdentification</PostCodeIdentification>
<!--卖方邮编-->
<CountryCode RefDes="NAD09">DE</CountryCode>
<!--卖方国家代码,DE:德国-->
<ContactInformation>
<!--CTALoop1-->
<!--CTA-->
<ContactFunctionCode RefDes="CTA01">IC</ContactFunctionCode>
<!--卖方联系信息限定符-->
<DepartmentOrEmployee RefDes="CTA02">
<Identification RefDes="CTA0201">Test Identification</Identification>
<!--卖方联系ID-->
<Name RefDes="CTA0202">Test Name</Name>
<!--卖方联系姓名-->
</DepartmentOrEmployee>
<CommunicationContact>
<!--COM-->
<CommunicationAddressIdentifier RefDes="COM0101">Test CommunicationAddressIdentifier</CommunicationAddressIdentifier>
<!--卖方联系信息ID-->
<CommunicationMeansTypeCode RefDes="COM0102">TE</CommunicationMeansTypeCode>
<!--卖方联系方式限定符,可填写:FX/TE/EM,FX:传真;TE:电话;EM:电子邮件-->
</CommunicationContact>
</ContactInformation>
</SellerInfo>
<SupplierInfo qualifier="NAD01:SU">
<!--NADLoop1-->
<!--NAD-->
<PartyId RefDes="NAD0201">Test PartyId</PartyId>
<!--供应商ID-->
<CodeListResponsibleAgencyCode RefDes="NAD0203">92</CodeListResponsibleAgencyCode>
<!--买方指定-->
<PartyName RefDes="NAD0401">Test PartyName</PartyName>
<!--供应商名称-->
<PartyName2 RefDes="NAD0402">Test PartyName2</PartyName2>
<!--供应商名称-->
<StreetAndNumberOrPostOfficeBox RefDes="NAD0501">Test StreetAndNumberOrPostOfficeBox</StreetAndNumberOrPostOfficeBox>
<!--供应商街道-->
<CityName RefDes="NAD06">Test CityName</CityName>
<!--供应商城市名-->
<CountrySubEntityDetail RefDes="NAD07">
<NameCode RefDes="NAD0701">Test NameCode</NameCode>
<!--供应商国家或地区细分-->
</CountrySubEntityDetail>
<PostCodeIdentification RefDes="NAD08">Test PostCodeIdentification</PostCodeIdentification>
<!--供应商邮编-->
<CountryCode RefDes="NAD09">DE</CountryCode>
<!--供应商国家代码,DE:德国-->
<ContactInformation>
<!--CTALoop1-->
<!--CTA-->
<ContactFunctionCode RefDes="CTA01">IC</ContactFunctionCode>
<!--联系信息标识符-->
<DepartmentOrEmployee RefDes="CTA02">
<Identification RefDes="CTA0201">Test Identification</Identification>
<!--供应商联系ID-->
<Name RefDes="CTA0202">Test Name</Name>
<!--供应商联系名称-->
</DepartmentOrEmployee>
<CommunicationContact>
<!--COM-->
<CommunicationAddressIdentifier RefDes="COM0101">Test CommunicationAddressIdentifier</CommunicationAddressIdentifier>
<!--供应商联系地址ID-->
<CommunicationMeansTypeCode RefDes="COM0102">TE</CommunicationMeansTypeCode>
</CommunicationContact>
<!--供应商联系方式限定符可填写:FX/TE/EM,FX:传真;TE:电话;EM:电子邮件-->
</ContactInformation>
</SupplierInfo>
<ShipToInfo qualifier="NAD01:ST">
<!--NADLoop1-->
<!--NAD-->
<PartyId RefDes="NAD0201">Test PartyId</PartyId>
<!--收货方ID-->
<CodeListResponsibleAgencyCode RefDes="NAD0203">92</CodeListResponsibleAgencyCode>
<!--由买方指定-->
<PartyName RefDes="NAD0401">Test PartyName</PartyName>
<!--收货方名称-->
<PartyName2 RefDes="NAD0402">Test PartyName2</PartyName2>
<!--收货方名称1-->
<StreetAndNumberOrPostOfficeBox RefDes="NAD0501">Test StreetAndNumberOrPostOfficeBox</StreetAndNumberOrPostOfficeBox>
<!--收货方街道-->
<CityName RefDes="NAD06">Test CityName</CityName>
<!--收货方城市名-->
<CountrySubEntityDetail RefDes="NAD07">
<NameCode RefDes="NAD0701">Test NameCode</NameCode>
<!--收货方国家或地区细分-->
</CountrySubEntityDetail>
<PostCodeIdentification RefDes="NAD08">Test PostCodeIdentification</PostCodeIdentification>
<!--收货方邮编-->
<CountryCode RefDes="NAD09">DE</CountryCode>
<!--收货方国家代码,DE:德国-->
<PlaceOrPortOfDischarge qualifier="LOC01:11">
<!--LOC-->
<LocationIdentification RefDes="LOC02">
<LocationID RefDes="LOC0201">Test LocationID</LocationID>
<!--卸货点地址ID-->
</LocationIdentification>
</PlaceOrPortOfDischarge>
<ContactInformation>
<!--CTALoop1-->
<!--CTA-->
<ContactFunctionCode RefDes="CTA01">IC</ContactFunctionCode>
<!--收货方联系信息限定符-->
<DepartmentOrEmployee RefDes="CTA02">
<Identification RefDes="CTA0201">Test Identification</Identification>
<!--收货方联系明细-->
<Name RefDes="CTA0202">Test Name</Name>
<!--收货方联系名称-->
</DepartmentOrEmployee>
<CommunicationContact>
<!--COM-->
<CommunicationAddressIdentifier RefDes="COM0101">Test CommunicationAddressIdentifier</CommunicationAddressIdentifier>
<!--收货方联系地址ID-->
<CommunicationMeansTypeCode RefDes="COM0102">TE</CommunicationMeansTypeCode>
<!--收货方联系方式限定符可填写:FX/TE/EM,FX:传真;TE:电话;EM:电子邮件-->
</CommunicationContact>
</ContactInformation>
</ShipToInfo>
<ShipFromInfo qualifier="NAD01:SF">
<!--NADLoop1-->
<!--NAD-->
<PartyId RefDes="NAD0201">Test PartyId</PartyId>
<!--发货方ID-->
<CodeListResponsibleAgencyCode RefDes="NAD0203">92</CodeListResponsibleAgencyCode>
<!--由买方指定-->
<PartyName RefDes="NAD0401">Test PartyName</PartyName>
<!--发货方名称-->
<PartyName2 RefDes="NAD0402">Test PartyName2</PartyName2>
<!--发货方名称2-->
<StreetAndNumberOrPostOfficeBox RefDes="NAD0501">Test StreetAndNumberOrPostOfficeBox</StreetAndNumberOrPostOfficeBox>
<!--发货方街道-->
<CityName RefDes="NAD06">Test CityName</CityName>
<!--发货方城市-->
<CountrySubEntityDetail RefDes="NAD07">
<NameCode RefDes="NAD0701">Test NameCode</NameCode>
<!--发货方国家或地区细分-->
</CountrySubEntityDetail>
<PostCodeIdentification RefDes="NAD08">Test PostCodeIdentification</PostCodeIdentification>
<!--发货方邮编-->
<CountryCode RefDes="NAD09">DE</CountryCode>
<!--发货方国家代码,DE:德国-->
<ContactInformation>
<!--CTALoop1-->
<!--CTA-->
<ContactFunctionCode RefDes="CTA01">IC</ContactFunctionCode>
<!--发货方联系信息限定符-->
<DepartmentOrEmployee RefDes="CTA02">
<Identification RefDes="CTA0201">Test Identification</Identification>
<!--发货方联系信息-->
<Name RefDes="CTA0202">Test Name</Name>
<!--发货方联系名称-->
</DepartmentOrEmployee>
<CommunicationContact>
<!--COM-->
<CommunicationAddressIdentifier RefDes="COM0101">Test CommunicationAddressIdentifier</CommunicationAddressIdentifier>
<!--发货方联系地址-->
<CommunicationMeansTypeCode RefDes="COM0102">TE</CommunicationMeansTypeCode>
<!--发货方联系方式限定符可填写:FX/TE/EM,FX:传真;TE:电话;EM:电子邮件-->
</CommunicationContact>
</ContactInformation>
</ShipFromInfo>
<FreightForwarderInfo qualifier="NAD01:FW">
<!--NADLoop1-->
<!--NAD-->
<PartyId RefDes="NAD0201">Test PartyId</PartyId>
<!--货运转运商ID-->
<PartyName RefDes="NAD0401">Test PartyName</PartyName>
<!--货运转运商名称-->
<PartyName2 RefDes="NAD0402">Test PartyName2</PartyName2>
<!--货运转运商名称-->
<StreetAndNumberOrPostOfficeBox RefDes="NAD0501">Test StreetAndNumberOrPostOfficeBox</StreetAndNumberOrPostOfficeBox>
<!--货运转运商街道-->
<CityName RefDes="NAD06">Test CityName</CityName>
<!--货运转运商城市名-->
<CountrySubEntityDetail RefDes="NAD07">
<NameCode RefDes="NAD0701">Test NameCode</NameCode>
<!--货运转运商国家或地区细分-->
</CountrySubEntityDetail>
<PostCodeIdentification RefDes="NAD08">Test PostCodeIdentification</PostCodeIdentification>
<!--货运转运商邮编-->
<CountryCode RefDes="NAD09">DE</CountryCode>
<!--货运转运商国家代码,DE:德国-->
<ContactInformation>
<!--CTALoop1-->
<!--CTA-->
<ContactFunctionCode RefDes="CTA01">IC</ContactFunctionCode>
<!--货运转运商联系信息限定符-->
<DepartmentOrEmployee RefDes="CTA02">
<Identification RefDes="CTA0201">Test Identification</Identification>
<!--货运转运商联系ID-->
<Name RefDes="CTA0202">Test Name</Name>
<!--货运转运商联系名称-->
</DepartmentOrEmployee>
<CommunicationContact>
<!--COM-->
<CommunicationAddressIdentifier RefDes="COM0101">Test CommunicationAddressIdentifier</CommunicationAddressIdentifier>
<!--货运转运商联系地址ID-->
<CommunicationMeansTypeCode RefDes="COM0102">TE</CommunicationMeansTypeCode>
<!--货运转运商联系方式限定符可填写:FX/TE/EM,FX:传真;TE:电话;EM:电子邮件-->
</CommunicationContact>
</ContactInformation>
</FreightForwarderInfo>
<EquipmentDetails>
<!--EQDLoop1-->
<!--EQD-->
<EquipmentTypeCode RefDes="EQD01">TE</EquipmentTypeCode>
<!--装运限定符,可填写:TE/CN/ZZZ TE:拖车;CN:集装箱;ZZZ:混合装运-->
<EquipmentIdentification RefDes="EQD02">
<EquipmentId RefDes="EQD0201">Test EquipmentId</EquipmentId>
<!--装运ID-->
</EquipmentIdentification>
</EquipmentDetails>
<Level>
<!--CPSLoop1-->
<!--CPS-->
<PackagingLevelCode RefDes="CPS03">1</PackagingLevelCode>
<!--包装水平,可填写:1/4,1:内包装,4:无包装-->
<PackageInformation>
<!--PACLoop1-->
<!--PAC-->
<PackageNumber RefDes="PAC01">123456</PackageNumber>
<!--包装编号-->
<PackageTypeIdentification RefDes="PAC04">
<ItemDescriptionTypeCode RefDes="PAC0401">F</ItemDescriptionTypeCode>
<!--包装类型编码,F:自由格式-->
<TypeOfPackages RefDes="PAC0402">Test TypeOfPackages</TypeOfPackages>
<!--买方包装类型编码-->
<ItemNumberTypeCode RefDes="PAC0403">IN</ItemNumberTypeCode>
<!--物料类型编码,IN:买方物料编号-->
<TypeOfPackages RefDes="PAC0404">Test TypeOfPackages</TypeOfPackages>
<!--供应商包装类型编码-->
<ItemNumberTypeCode2 RefDes="PAC0405">SA</ItemNumberTypeCode2>
<!--供应商货号编码-->
</PackageTypeIdentification>
<PackageMeasurement qualifier="MEA01:AAY">
<!--MEA-->
<MeasurementDimentionCode RefDes="MEA0201">G</MeasurementDimentionCode>
<!--测量类型编码,可填写:G/AAL/LN/WD/HT,G:毛重,AAL:净重;LN:长度;WD:宽度;HT:宽度-->
<UnitOfMeasurement RefDes="MEA0301">KGM</UnitOfMeasurement>
<!--测量单位,可填写:KGM/CMT,KGM:千克;CMT:厘米-->
<MeasurementValue RefDes="MEA0302">Test MeasurementValue</MeasurementValue>
<!--测量值-->
</PackageMeasurement>
<QuantityDetail>
<!--QTY-->
<MaximumStackability RefDes="QTY0102" qualifier="QTY0101:171">Test MaximumStackability</MaximumStackability>
<!--最大可堆叠数量-->
<QuantityPerPack RefDes="QTY0102" qualifier="QTY0101:52">Test QuantityPerPack</QuantityPerPack>
<!--每个包装的数量-->
<MeasureUnitQualifier RefDes="QTY0103">EA</MeasureUnitQualifier>
<!--测量单位:每个-->
</QuantityDetail>
<PackageIdentification>
<!--PCILoop1-->
<!--PCI-->
<MarkingInstructionsCode RefDes="PCI01">17</MarkingInstructionsCode>
<!--17:卖方说明-->
<ShippingMarksDescription RefDes="PCI0201">Test ShippingMarksDescription</ShippingMarksDescription>
<!--卖方运输说明-->
<MarkingTypeCode RefDes="PCI0401">G</MarkingTypeCode>
<!--标记类型编码,可填写:G/M/S,G:混拖;M:整托;S:散箱-->
<CodeListResponsibleAgencyCode RefDes="PCI0403">5</CodeListResponsibleAgencyCode>
<!--5:ISO国际标准化组织-->
<Reference>
<!--RFF-->
<OuterpackagingUnitIdentification RefDes="RFF0102" qualifier="RFF0101:ACI">Test OuterpackagingUnitIdentification</OuterpackagingUnitIdentification>
<!--外包装ID,使用GTL 或 SSCC18 标签-->
</Reference>
<ProductionManufactureDateInfo qualifier="DTM01/DTM0101:94">
<!--DTM-->
<ProductionManufactureDate RefDes="DTM0102">Test DateOrTimeOrPeriod</ProductionManufactureDate>
<!--生产日期-->
<DateTimePeriodFormatQualifier RefDes="DTM0103">102</DateTimePeriodFormatQualifier>
<!--日期格式-->
</ProductionManufactureDateInfo>
<ValueList qualifier="GIR01:7">
<!--GIRLoop1-->
<!--GIR-->
<LevelNumber RefDes="GIR0201" qualifier="GIR02/GIR0202:AM">1</LevelNumber>
<!--可填入1/2, 1表示最小包装,2表示非最小包装-->
</ValueList>
<MarkingLabelNumber qualifier="GIN01:ML">
<!--GINLoop1-->
<!--GIN-->
<IdentityNumber RefDes="GIN0201">Test IdentityNumber</IdentityNumber>
<!--标签号-->
</MarkingLabelNumber>
<KanbanCardIdentifier qualifier="GIN01:AL">
<!--GINLoop1-->
<!--GIN-->
<IdentityNumber RefDes="GIN0201">Test IdentityNumber</IdentityNumber>
<!--看板卡号-->
</KanbanCardIdentifier>
</PackageIdentification>
</PackageInformation>
<Item>
<!--LINLoop1-->
<!--LIN-->
<LineItemNumber RefDes="LIN01">Test LineItemNumber</LineItemNumber>
<!--物料行号-->
<BuyerItemNumber RefDes="LIN0301" qualifier="LIN0302:IN">Test BuyerItemNumber</BuyerItemNumber>
<!--买方物料号-->
<AdditionalProductIdentification>
<!--PIA-->
<ProductIdFunctionCode RefDes="PIA01">1</ProductIdFunctionCode>
<!--补充产品ID限定符-->
<ItemNumberIdentification RefDes="PIA02">
<SupplierArticleNumber RefDes="PIA0201" qualifier="PIA0202:SA">Test SupplierArticleNumber</SupplierArticleNumber>
<!--供应商货号-->
</ItemNumberIdentification>
<ItemNumberIdentification2 RefDes="PIA03">
<EngineeringChangeLevel RefDes="PIA0301" qualifier="PIA0302:EC">Test EngineeringChangeLevel</EngineeringChangeLevel>
<!--工程修改级别-->
</ItemNumberIdentification2>
<ItemNumberIdentification3 RefDes="PIA04">
<BatchNumber RefDes="PIA0401" qualifier="PIA0402:NB">Test BatchNumber</BatchNumber>
<!--批号-->
</ItemNumberIdentification3>
<ItemNumberIdentification4 RefDes="PIA05">
<SoftwareRevisionNumber RefDes="PIA0501" qualifier="PIA0502:AG">Test SoftwareRevisionNumber</SoftwareRevisionNumber>
<!--软件修正号-->
</ItemNumberIdentification4>
<ItemNumberIdentification5 RefDes="PIA06">
<TechnicalPhase RefDes="PIA0601" qualifier="PIA0602:BT">Test TechnicalPhase</TechnicalPhase>
<!--硬件修正号-->
</ItemNumberIdentification5>
</AdditionalProductIdentification>
<QuantityDetail>
<!--QTY-->
<DespatchQuantity RefDes="QTY0102" qualifier="QTY0101:12">Test DespatchQuantity</DespatchQuantity>
<!--发货数量-->
<MeasureUnitQualifier RefDes="QTY0103">EA</MeasureUnitQualifier>
<!--测量单位,每个-->
</QuantityDetail>
<AdditionalInformation>
<!--ALI-->
<CountryOfOriginIdentifier RefDes="ALI01">DE</CountryOfOriginIdentifier>
<!--原产国-->
</AdditionalInformation>
<SerialNumber qualifier="GIN01:BN">
<!--GIN-->
<IdentityNumber RefDes="GIN0201">Test IdentityNumber</IdentityNumber>
<!--序列号-->
</SerialNumber>
<ExpiryDateInfo qualifier="DTM01/DTM0101:36">
<!--DTM-->
<DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
<!--限用日期-->
<DateTimePeriodFormatQualifier RefDes="DTM0103">102</DateTimePeriodFormatQualifier>
</ExpiryDateInfo>
<ProductionManufactureDateInfo qualifier="DTM01/DTM0101:94">
<!--DTM-->
<DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
<!--生产/制造日期-->
<DateTimePeriodFormatQualifier RefDes="DTM0103">102</DateTimePeriodFormatQualifier>
</ProductionManufactureDateInfo>
<ManufacturerOfGoodsInfo qualifier="NAD01:MF">
<!--NAD-->
<PartyId RefDes="NAD0201">Test PartyId</PartyId>
<!--货物制造商ID-->
</ManufacturerOfGoodsInfo>
<Reference>
<!--RFFLoop3-->
<!--RFF-->
<PurchaseOrderNumber RefDes="RFF0102" qualifier="RFF0101:ON">Test PurchaseOrderNumber</PurchaseOrderNumber>
<!--订单编号-->
<LineNumber RefDes="RFF0103">Test LineNumber</LineNumber>
<!--物料行号-->
</Reference>
<Reference>
<InvoiceNumber RefDes="RFF0102" qualifier="RFF0101:IV">Test InvoiceNumber</InvoiceNumber>
<!--发票号-->
</Reference>
<!--RFF-->
<Reference>
<DeliveryScheduleNumber RefDes="RFF0102" qualifier="RFF0101:AAN">Test DeliveryScheduleNumber</DeliveryScheduleNumber>
<!--交付计划编号-->
</Reference>
<Reference>
<EventReferenceNumber RefDes="RFF0102" qualifier="RFF0101:AIV">Test EventReferenceNumber</EventReferenceNumber>
<!--事件参考号-->
</Reference>
<PlaceOrPortOfDischarge qualifier="LOC01:11">
<!--LOCLoop2-->
<!--LOC-->
<LocationIdentification RefDes="LOC02">
<LocationID RefDes="LOC0201">Test LocationID</LocationID>
<!--卸货地ID-->
</LocationIdentification>
</PlaceOrPortOfDischarge>
<Warehouse qualifier="LOC01:18">
<!--LOCLoop2-->
<!--LOC-->
<LocationIdentification RefDes="LOC02">
<LocationID RefDes="LOC0201">Test LocationID</LocationID>
<!--仓库位置ID-->
</LocationIdentification>
</Warehouse>
<AdditionalInternalDestination qualifier="LOC01:159">
<!--LOCLoop2-->
<!--LOC-->
<LocationIdentification RefDes="LOC02">
<LocationID RefDes="LOC0201">Test LocationID</LocationID>
<!--额外的内部目的地ID-->
</LocationIdentification>
</AdditionalInternalDestination>
</Item>
<Level>
<!--CPSLoop2-->
<!--CPS-->
<PackagingLevelCode RefDes="CPS03">2</PackagingLevelCode>
<!--包装水平:中层-->
<PackageInformation>
<!--PACLoop1-->
<!--PAC-->
<PackageNumber RefDes="PAC01">123456</PackageNumber>
<!--包装号-->
<PackageTypeIdentification RefDes="PAC04">
<ItemDescriptionTypeCode RefDes="PAC0401">F</ItemDescriptionTypeCode>
<!--自由格式限定符-->
<TypeOfPackages RefDes="PAC0402">Test TypeOfPackages</TypeOfPackages>
<!--包装类型-->
<ItemNumberTypeCode RefDes="PAC0403">IN</ItemNumberTypeCode>
<!--买方物料号限定符-->
<TypeOfPackages RefDes="PAC0404">Test TypeOfPackages</TypeOfPackages>
<!--包装类型-->
<ItemNumberTypeCode2 RefDes="PAC0405">SA</ItemNumberTypeCode2>
<!--供应商产品编号-->
</PackageTypeIdentification>
<PackageMeasurement qualifier="MEA01:AAY">
<!--MEA-->
<MeasurementDimentionCode RefDes="MEA0201">G</MeasurementDimentionCode>
<!--测量类型编码,可填写:G/AAL/LN/WD/HT,G:毛重,AAL:净重;LN:长度;WD:宽度;HT:宽度-->
<UnitOfMeasurement RefDes="MEA0301">KGM</UnitOfMeasurement>
<!--测量单位,可填写:KGM/CMT,KGM:千克;CMT:厘米-->
<MeasurementValue RefDes="MEA0302">Test MeasurementValue</MeasurementValue>
<!--测量值-->
</PackageMeasurement>
<QuantityDetail>
<!--QTY-->
<MaximumStackability RefDes="QTY0102" qualifier="QTY0101:171">Test MaximumStackability</MaximumStackability>
<!--最大堆积量-->
<NumberofPackagesInHandlingUnit RefDes="QTY0102" qualifier="QTY0101:189">Test NumberofPackagesInHandlingUnit</NumberofPackagesInHandlingUnit>
</QuantityDetail>
<!--处理单元中的包裹数量-->
<PackageIdentification>
<!--PCILoop1-->
<!--PCI-->
<MarkingInstructionsCode RefDes="PCI01">17</MarkingInstructionsCode>
<!--17:卖方说明-->
<ShippingMarksDescription RefDes="PCI0201">Test ShippingMarksDescription</ShippingMarksDescription>
<!--卖方运输说明-->
<MarkingTypeCode RefDes="PCI0401">G</MarkingTypeCode>
<!--标记类型编码,可填写:G/M,G:混拖;M:整托-->
<CodeListResponsibleAgencyCode RefDes="PCI0403">5</CodeListResponsibleAgencyCode>
<!--5:ISO国际标准化组织-->
<MarkingLabelNumber qualifier="GIN01:ML">
<!--GINLoop1-->
<!--GIN-->
<IdentityNumber RefDes="GIN0201">Test IdentityNumber</IdentityNumber>
<!--标签号-->
</MarkingLabelNumber>
<SerialShippingContainerCode qualifier="GIN01:AW">
<!--GINLoop1-->
<!--GIN-->
<IdentityNumber RefDes="GIN0201">Test IdentityNumber</IdentityNumber>
<!--外包装中包含的包件的ID-->
</SerialShippingContainerCode>
</PackageIdentification>
</PackageInformation>
</Level>
</Level>
</EDI_DESADV>
2. 通过知行之桥EDI系统,将上述示例XML文件进行格式转换后,得到的博世BOSCH发货通知 DESADV 报文示例如下:
代码语言:javascript复制UNA: .?*'
UNB UNOC:3 0123456789 BOSCH EDI-TEAM 221009:1422 000000019'
UNH 1 DESADV:D:07A:UN:EAN008'
- 1 = 消息参考号
- DESADV= 报文类型
BGM 351:::KANBAN Test MessageNumber 9'
- 351= 发货通知限定符
- KANBAN= 与DELJIT相关的发货通知
- Test MessageNumber = 发货编号
- 9 = 原始文件
DTM 137:Test DateOrTimeOrPeriod:102'
- 137= 文件日期限定符
- Test DateOrTimeOrPeriod = 文件日期
- 102 = 日期格式编码
DTM 132:Test DateOrTimeOrPeriod:102'
- 132 = 预计运输抵达日期限定符
- Test DateOrTimeOrPeriod = 预计运输抵达日期
- 102 = 日期格式编码
DTM 10:Test DateOrTimeOrPeriod:102'
- 10 = 指定的运输日期限定符
- Test DateOrTimeOrPeriod = 指定的运输日期
- 102 = 日期格式编码
MEA AAX AAD KGM:Test MeasurementValue'
- AAX = 寄售测量限定符
- AAD = 托运总重量限定符
- KGM = 千克
- Test MeasurementValue = 测量值
RFF AAS:Test TransportContractDocumentIdentifier'
- AAS = 运输合同文件限定符
- Test TransportContractDocumentIdentifie = 运输合同文件ID
RFF AVU:Test UniqueGoodsShipmentIdentifier'
- AVU = 独特的货物运输限定符
- Test UniqueGoodsShipmentIdentifier = 独特的货物运输ID
RFF AHI:Test TransportContractReferenceNumber'
- AHI = 运输合同参考号限定符
- Test TransportContractReferenceNumber = 运输合同参考号
NAD BY Test PartyId::91 Test PartyName:Test PartyName2 Test StreetAndNumberOrPostOfficeBox Test CityName Test NameCode Test PostCodeIdentification DE'
- BY = 买方限定符
- Test PartyId = 买方ID
- 91 = 由卖方指定
- Test PartyName = 买方名称
- Test PartyName2 = 买方名称2
- Test StreetAndNumberOrPostOfficeBox = 买方街道
- Test CityName = 买方城市名
- Test NameCode = 买方城市详细信息
- Test PostCodeIdentification = 买方邮编
- DE =买方国家ID
CTA IC Test Identification:Test Name'
- IC = 买方联系信息限定符
- Test Identification = 买方联系ID
- Test Name =买方联系姓名
COM Test CommunicationAddressIdentifier:TE'
- Test CommunicationAddressIdentifier = 买方联系地址ID
- TE = 电话
NAD SE Test PartyId::92 Test PartyName:Test PartyName2 Test StreetAndNumberOrPostOfficeBox Test CityName Test NameCode Test PostCodeIdentification DE'
- SE = 卖方限定符
- Test PartyId = 卖方ID
- 92 = 由买方指定
- Test PartyName = 卖方名称
- Test PartyName2 = 卖方名称2
- Test StreetAndNumberOrPostOfficeBox = 卖方街道
- Test CityName = 卖方城市名
- Test NameCode= 卖方国家或地区细分
- Test PostCodeIdentification = 卖方邮编
- DE = 卖方国家代码
CTA IC Test Identification:Test Name'
- IC= 卖方联系信息限定符
- Test Identification = 卖方联系ID
- Test Name = 卖方联系姓名
COM Test CommunicationAddressIdentifier:TE'
- Test CommunicationAddressIdentifier = 卖方联系信息ID
- TE = 电话
NAD SU Test PartyId::92 Test PartyName:Test PartyName2 Test StreetAndNumberOrPostOfficeBox Test CityName Test NameCode Test PostCodeIdentification DE'
- SU = 供应商限定符
- Test PartyId = 供应商ID
- 92 = 由买方指定
- Test PartyName = 供应商名称
- Test PartyName2 = 供应商名称2
- Test StreetAndNumberOrPostOfficeBox = 供应商街道
- Test CityName = 供应商城市名
- Test NameCode= 供应商国家或地区细分
- Test PostCodeIdentification = 供应商邮编
- DE = 供应商国家代码
CTA IC Test Identification:Test Name'
- IC= 供应商联系信息限定符
- Test Identification = 供应商联系ID
- Test Name = 供应商联系姓名
COM Test CommunicationAddressIdentifier:TE'
- Test CommunicationAddressIdentifier = 供应商联系信息ID
- TE = 电话
NAD ST Test PartyId::92 Test PartyName:Test PartyName2 Test StreetAndNumberOrPostOfficeBox Test CityName Test NameCode Test PostCodeIdentification DE'
- ST = 收货方限定符
- Test PartyId = 收货方ID
- 92 = 由买方指定
- Test PartyName = 收货方名称
- Test PartyName2 = 收货方名称2
- Test StreetAndNumberOrPostOfficeBox = 收货方街道
- Test CityName = 收货方城市名
- Test NameCode= 收货方国家或地区细分
- Test PostCodeIdentification = 收货方邮编
- DE = 收货方国家代码
LOC 11 Test LocationID'
- Test LocationID = 卸货点地址ID
CTA IC Test Identification:Test Name'
- IC= 收货方联系信息限定符
- Test Identification = 收货方联系ID
- Test Name = 收货方联系姓名
COM Test CommunicationAddressIdentifier:TE'
- Test CommunicationAddressIdentifier = 收货方联系信息ID
- TE = 电话
NAD SF Test PartyId::92 Test PartyName:Test PartyName2 Test StreetAndNumberOrPostOfficeBox Test CityName Test NameCode Test PostCodeIdentification DE'
- SF = 发货限定符
- Test PartyId = 发货ID
- 92 = 由买方指定
- Test PartyName = 发货名称
- Test PartyName2 = 发货名称2
- Test StreetAndNumberOrPostOfficeBox = 发货街道
- Test CityName = 发货城市名
- Test NameCode= 发货国家或地区细分
- Test PostCodeIdentification = 发货邮编
- DE = 发货国家代码
CTA IC Test Identification:Test Name'
- IC= 发货方联系信息限定符
- Test Identification = 发货方联系ID
- Test Name = 发货方联系姓名
COM Test CommunicationAddressIdentifier:TE'
- Test CommunicationAddressIdentifier = 发货方联系信息ID
- TE = 电话
NAD FW Test PartyId Test PartyName:Test PartyName2 Test StreetAndNumberOrPostOfficeBox Test CityName Test NameCode Test PostCodeIdentification DE'
- FW= 货运转运商限定符
- Test PartyId = 货运转运商ID
- 92 = 由货运转运商指定
- Test PartyName = 货运转运商名称
- Test PartyName2 = 货运转运商名称2
- Test StreetAndNumberOrPostOfficeBox = 货运转运商街道
- Test CityName = 货运转运商城市名
- Test NameCode= 货运转运商国家或地区细分
- Test PostCodeIdentification = 货运转运商邮编
- DE = 货运转运商国家代码
CTA IC Test Identification:Test Name'
- IC= 货运转运商联系信息限定符
- Test Identification = 货运转运商联系ID
- Test Name = 货运转运商联系姓名
COM Test CommunicationAddressIdentifier:TE'
- Test CommunicationAddressIdentifier = 货运转运商联系信息ID
- TE = 电话
EQD TE Test EquipmentId'
- TE= 拖车
- Test EquipmentId = 装运ID
CPS 1 1'
- 1= 包装水平限定符
- 1 = 包装水平,内包装
PAC 123456 F:Test TypeOfPackages:IN:Test TypeOfPackages:SA'
- 123456 = 包装编号
- F = 包装类型编码,F:自由格式
- Test TypeOfPackages = 买方包装类型编码
- IN = 物料类型编码,IN:买方物料编号
- Test TypeOfPackages = 供应商包装类型编码
- SA = 供应商货号编码
MEA AAY G KGM:Test MeasurementValue'
- AAY = 测量限定符
- G = 毛重
- KGM = 千克
- Test MeasurementValue = 测量值
QTY 171:Test MaximumStackability:EA'
- 171 = 买方包装类型编码
- Test MaximumStackability = 最大可堆叠数量
- EA = 测量单位:每个
PCI 17 Test ShippingMarksDescription G::5'
- 17 = 卖方说明限定符
- Test ShippingMarksDescription = 卖方运输说明
- G = 标记类型编码
- 5 = ISO国际标准化组织
RFF ACI:Test OuterpackagingUnitIdentification'
- ACI= 外包装限定符
- Test OuterpackagingUnitIdentification = 外包装ID
DTM 94:Test DateOrTimeOrPeriod:102'
- 94 = 生产日期限定符
- Test DateOrTimeOrPeriod= 生产日期
- 102 = 日期格式
GIR 7 1:AM'
- 7= 类型标识符
- 1 = 最小包装
- AM = 水平编号限定符
GIN ML Test IdentityNumber'
- ML = 标签号限定符
- Test IdentityNumber = 标签号
GIN AL Test IdentityNumber'
- AL = 看板卡号限定符
- Test IdentityNumber = 看板卡号
LIN Test LineItemNumber Test BuyerItemNumber:IN'
- Test LineItemNumber = 物料行号
- Test BuyerItemNumber = 买方物料号
- IN = 买方物料号限定符
PIA 1 Test SupplierArticleNumber:SA Test EngineeringChangeLevel:EC Test BatchNumber:NB Test SoftwareRevisionNumber:AG Test TechnicalPhase:BT'
- 1 = 看板卡号限定符
- Test SupplierArticleNumber = 供应商货号
- SA = 供应商货号限定符
- Test EngineeringChangeLevel= 工程修改级别限定符
- EC = 工程修改级别
- Test BatchNumber= 批号
- NB = 批号限定符
- Test SoftwareRevisionNumber = 软件修正号
- AG = 软件修正号限定符
- Test TechnicalPhase = 硬件修正号
- BT = 硬件修正号限定符
QTY 12:Test DespatchQuantity:EA'
- 12 = 发货数量限定符
- Test DespatchQuantity = 发货数量
- EA = 测量单位,每个
ALI DE'
- DE = 原产国
GIN BN Test IdentityNumber'
- BN = 序列号限定符
- Test IdentityNumber = 序列号
DTM 36:Test DateOrTimeOrPeriod:102'
- 36 = 限用日期限定符
- Test DateOrTimeOrPeriod = 限用日期
- 102= 日期格式限定符
DTM 94:Test DateOrTimeOrPeriod:102'
- 94 = 生产/制造日期限定符
- Test DateOrTimeOrPeriod = 生产/制造日期
- 102= 日期格式限定符
NAD MF Test PartyId'
- MF = 货物制造商限定符
- Test PartyId = 货物制造商ID
RFF ON:Test PurchaseOrderNumber:Test LineNumber'
- ON = 订单编号限定符
- Test PurchaseOrderNumber = 订单编号
- Test LineNumber = 物料行号
RFF IV:Test InvoiceNumber'
- IV = 发票号限定符
- Test InvoiceNumber = 发票号
RFF AAN:Test DeliveryScheduleNumber'
- AAN = 交付计划编号限定符
- Test DeliveryScheduleNumber = 交付计划编号
RFF AIV:Test EventReferenceNumber'
- AIV: = 事件参考号限定符
- Test EventReferenceNumber = 事件参考号
LOC 11 Test LocationID'
- 11 = 卸货地限定符
- Test LocationID = 卸货地ID
LOC 18 Test LocationID'
- 18 = 仓库位置限定符
- Test LocationID = 仓库位置ID
LOC 159 Test LocationID'
- 159 = 额外的内部目的地限定符
- Test LocationID = 额外的内部目的地ID
CPS 2 2'
- 2 = 包装水平限定符
- 2 = 包装水平:中层
PAC 123456 F:Test TypeOfPackages:IN:Test TypeOfPackages:SA'
- 123456 = 包装号
- F = 自由格式限定符
- Test TypeOfPackages = 包装类型
- IN = 买方物料号限定符
- Test TypeOfPackages = 包装类型
- SA = 供应商产品编号
MEA AAY G KGM:Test MeasurementValue'
- AAY= 包装测量限定符
- G = 毛重
- KGM = 千克
- Test MeasurementValue = 测量值
QTY 171:Test MaximumStackability'
- 171= 最大堆积量限定符
- Test MaximumStackability= 最大堆积量
PCI 17 Test ShippingMarksDescription G::5'
- 17 = 卖方说明限定符
- Test ShippingMarksDescription = 卖方运输说明
- G = 混拖
- 5 = ISO国际标准化组织
GIN ML Test IdentityNumber'
- ML = 标签号
- Test IdentityNumber = 标签号
GIN AW Test IdentityNumber'
- AW = 外包装中包含的包件限定符
- Test IdentityNumber = 外包装中包含的包件的ID
UNT 57 1'
UNZ 1 000000019'
工作流示例
通过上述的讲解想必大家已经了解了 BOSCH DESADV发货通知在知行之桥 EDI 系统中的转换结果了,以下是上述工作流示例,您可以下载知行之桥EDI系统,导入【示例工作流】以及【BOSCH_DESADV_Test】,进行实战操作。
下载 博世 BOSCH DESADV 工作流以及测试文件
在知行之桥 EDI 系统中导入上述工作流以及测试文件。
①先点击右上角的工作区齿轮图标,选择创建工作区,命名为BOSCH_Test。
②然后选择导入工作区,选择BOSCH_Test.arcflow。
③点开BOSCH_XMLMap_DESADV 端口,点击上方 输入 ,在 更多里点击上传文件,上传 DESADV_TEST.xml。
④点开BOSCH_XMLToEDIFACT端口,点击上方 输出 ,点击 D07A_DESADV_Test_000000020.edi即可下载文件,看到转换后的结果。
更多 EDI 信息,请参阅: EDI 是什么?
阅读原文