OASIS SET TC
Use Case: iSURF Interoperability Service Utility: Providing the Interoperability of CPFR©Electronic Business Documents
Submitter: METU
The Goal of theUse Case: Providing interoperability among GS1 XML and UBL Planning Documents using SET TC Specifications
Example(s): How to provide the semi-automated mapping of the following GS1 XML Forecast and UBL Forecast Documents?
GS1 XML Forecast Example Instance
<?xml version="1.0" encoding="UTF-8"?>
<sh:StandardBusinessDocument xmlns:sh=" xmlns:eanucc="urn:ean.ucc:2" xmlns:plan="urn:ean.ucc:plan:2" xmlns:xsi=" xsi:schemaLocation=" ../Schemas/sbdh/StandardBusinessDocumentHeader.xsd urn:ean.ucc:2 ../Schemas/ForecastProxy.xsd">
<sh:StandardBusinessDocumentHeader>
<sh:HeaderVersion>1.0</sh:HeaderVersion>
<sh:Sender>
<sh:Identifier Authority="EAN.UCC">6903148000007</sh:Identifier>
<sh:ContactInformation>
<sh:Contact>John Doe</sh:Contact>
<sh:EmailAddress></sh:EmailAddress>
<sh:FaxNumber>+1-212-555-1213</sh:FaxNumber>
<sh:TelephoneNumber>+1-212-555-2122</sh:TelephoneNumber>
<sh:ContactTypeIdentifier>Buyer</sh:ContactTypeIdentifier>
</sh:ContactInformation>
</sh:Sender>
<sh:Receiver>
<sh:Identifier Authority="EAN.UCC">2203148000007</sh:Identifier>
<sh:ContactInformation>
<sh:Contact>Mary Smith</sh:Contact>
<sh:EmailAddress></sh:EmailAddress>
<sh:FaxNumber>+1-312-555-1214</sh:FaxNumber>
<sh:TelephoneNumber>+1-312-555-2125</sh:TelephoneNumber>
<sh:ContactTypeIdentifier>Seller</sh:ContactTypeIdentifier>
</sh:ContactInformation>
</sh:Receiver>
<sh:DocumentIdentification>
<sh:Standard>EAN.UCC</sh:Standard>
<sh:TypeVersion>2.0.2</sh:TypeVersion>
<sh:InstanceIdentifier>100002</sh:InstanceIdentifier>
<sh:Type>Forecast</sh:Type>
<sh:MultipleType>false</sh:MultipleType>
<sh:CreationDateAndTime>2004-01-10T12:00:01.000</sh:CreationDateAndTime>
</sh:DocumentIdentification>
</sh:StandardBusinessDocumentHeader>
<eanucc:message>
<entityIdentification>
<uniqueCreatorIdentification>MSG-123-20040110</uniqueCreatorIdentification>
<contentOwner>
<gln>0012345000359</gln>
</contentOwner>
</entityIdentification>
<eanucc:transaction>
<entityIdentification>
<uniqueCreatorIdentification> MSG-123-20040110</uniqueCreatorIdentification>
<contentOwner>
<gln>0012345000359</gln>
</contentOwner>
</entityIdentification>
<command>
<eanucc:documentCommand>
<documentCommandHeader type="ADD">
<entityIdentification>
<uniqueCreatorIdentification> MSG-123-20040110</uniqueCreatorIdentification>
<contentOwner>
<gln>0012345000359</gln>
</contentOwner>
</entityIdentification>
</documentCommandHeader>
<documentCommandOperand>
<plan:forecast creationDateTime="2005-01-10T12:00:01.000" documentStatus="ORIGINAL" forecastPurpose="ORDER_FORECAST" isForecastBasedOnConsensus="true" xsi:schemaLocation="urn:ean.ucc:2 ../Schemas/ForecastProxy.xsd">
<contentVersion>
<versionIdentification>2.0.2</versionIdentification>
</contentVersion>
<documentStructureVersion>
<versionIdentification>2.0.2</versionIdentification>
</documentStructureVersion>
<plannerIdentification>XX</plannerIdentification>
<dataSourceCode>BUYER</dataSourceCode>
<seller>
<gln>0871234500004</gln>
</seller>
<buyer>
<gln>0871234500011</gln>
</buyer>
<period beginDate="2004-02-01" endDate="2004-02-26"/>
<forecastDataItem forecastStatus="MODIFIABLE" forecastType="TOTAL">
<collaborativeTradeItem>
<product>
<gtin>08712345000028</gtin>
</product>
<buyerLocation>
<gln>0871234500035</gln>
</buyerLocation>
<sellerLocation>
<gln>0871234500042</gln>
</sellerLocation>
</collaborativeTradeItem>
<period beginDate="2004-02-01" endDate="2004-02-26"/>
<quantity>
<measurementValue unitOfMeasure="kgs">
<value>20</value>
</measurementValue>
</quantity>
</forecastDataItem>
</plan:forecast>
</documentCommandOperand>
</eanucc:documentCommand>
</command>
</eanucc:transaction>
</eanucc:message>
</sh:StandardBusinessDocument>
UBL Forecast Example Instance
<?xml version="1.0" encoding="UTF-8"?>
<Forecast xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Forecast-2 UBL-Forecast-2.1.xsd" xmlns="urn:oasis:names:specification:ubl:schema:xsd:Forecast-2" xmlns:xsi=" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2">
<cbc:UBLVersionID>2.1</cbc:UBLVersionID>
<cbc:CustomizationID>example</cbc:CustomizationID>
<cbc:ProfileID>example</cbc:ProfileID>
<cbc:ID>MSG-123-20040110</cbc:ID>
<cbc:DocumentStateCode>ORIGINAL</cbc:DocumentStateCode>
<cbc:BasedOnConsensusIndicator>true</cbc:BasedOnConsensusIndicator>
<cbc:PurposeCode>ORDER_FORECAST</cbc:PurposeCode>
<cbc:IssueDate>2005-01-10</cbc:IssueDate>
<cbc:IssueTime>12:00:01.0Z</cbc:IssueTime>
<cac:Period>
<cbc:StartDate>2008-08-01</cbc:StartDate>
<cbc:EndDate>2008-08-14</cbc:EndDate>
</cac:Period>
<cac:DataItem>
<cbc:StatusCode>MODIFIABLE</cbc:StatusCode>
<cbc:TypeCode>TOTAL</cbc:TypeCode>
<cac:BuyerCustomerParty>
<cac:Party>
<cac:PhysicalLocation>
<cbc:ID>0871234500035</cbc:ID>
</cac:PhysicalLocation>
</cac:Party>
<cac:Contact>
<cbc:Name>John Doe</cbc:Name>
<cbc:Telephone>+1-212-555-2122</cbc:Telephone>
<cbc:Telefax>+1-212-555-1213</cbc:Telefax>
<cbc:ElectronicMail></cbc:ElectronicMail>
</cac:Contact>
</cac:BuyerCustomerParty>
<cac:SellerSupplierParty>
<cac:Party>
<cac:PhysicalLocation>
<cbc:ID>0871234500042</cbc:ID>
</cac:PhysicalLocation>
</cac:Party>
<cac:Contact>
<cbc:Name>Mary Smith</cbc:Name>
<cbc:Telephone>+1-312-555-2125</cbc:Telephone>
<cbc:Telefax>+1-312-555-1214</cbc:Telefax>
<cbc:ElectronicMail></cbc:ElectronicMail>
</cac:Contact>
</cac:SellerSupplierParty>
<cac:Period>
<cbc:StartDate>2008-08-01</cbc:StartDate>
<cbc:EndDate>2008-08-14</cbc:EndDate>
</cac:Period>
<cac:GoodsItem>
<cbc:ID>08712345000028</cbc:ID>
<cbc:Quantity unitCode="KGS">20</cbc:Quantity>
</cac:GoodsItem>
</cac:DataItem>
</Forecast>