wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-flight" namespace { _"http://tripcom.org/ontologies/EDI/EDIFACT/EANCOM#", eancom _"http://tripcom.org/ontologies/EDI/EDIFACT/EANCOM#", edi _"http://tripcom.org/ontologies/EDI/EDI_Format#", ds _"http://tripcom.org/ontologies/EDI/EDIFACT/DataSegments#", fc _"http://tripcom.org/ontologies/EDI/EDI_FormatCodes#", dc _"http://purl.org/dc/elements/1.1#", scr _"http://tripcom.org/ontologies/EDI/ScRestrict#", xsd _"http://www.w3.org/2001/XMLSchema#" } ontology _"http://tripcom.org/ontologies/EDI/EDIFACT/EANCOM" nonFunctionalProperties dc#title hasValue "EANCOM-specific Formats WSML version" dc#subject hasValue "EANCOM-specific formats" dc#description hasValue "Description of EANCOM-specific formats" dc#contributor hasValue { _"http://foxvog.org/doug/" } dc#date hasValue "2007-2-20" dc#type hasValue _"http://www.wsmo.org/2004/d2/v1.0/#ontologies" dc#format hasValue "text/plain" dc#language hasValue "en-US" dc#rights hasValue _"http://www.deri.org/privacy.html" version hasValue "$Revision: 1.54 $" endNonFunctionalProperties instance UNH_01B_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 3 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "01B" // = Release 2001 - B instance UNH_UN_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 4 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "UN" // = UN/CEFACT instance UNH_EAN001_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "EAN001" instance UNH_EAN002_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "EAN002" instance UNH_EAN003_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "EAN003" instance UNH_EAN004_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "EAN004" instance UNH_EAN005_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "EAN005" instance UNH_EAN006_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "EAN006" instance UNH_EAN007_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "EAN007" instance UNH_EAN008_TLF memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "EAN008" /* ======================================================================== // Format Restrictions for UNT & UNH segments ======================================================================== */ instance UNT_TLF1 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure2Line1 hasValue _integer("-1") edi#dataStructure2Line2 hasValue 1 edi#dataStructure2Line3 hasValue 1 edi#restrictionType hasValue edi#FR_EqualValues instance ds#UNT_DS memberOf edi#DataSegment edi#hasTLFormatRestriction hasValue UNT_TLF1 /* ======================================================================== // Common (not universal) Format Restrictions for BGM segment ======================================================================== */ instance BGM_TLF213 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 3 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) instance BGM_TLF213R memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 3 edi#restrictionType hasValue edi#FR_Required edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) instance BGM_TLF23 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 3 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = Original /* Alphabetical listing from here down: */ /* ======================================================================== // Common (not universal) Format Restrictions for ALC segment // as first segment in loop ======================================================================== */ instance ALC_TLF153 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DOCUMENT/MESSAGE DETAILS" endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 5 edi#dataStructure1Line3 hasValue 3 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) /* ======================================================================== // Format Restriction for BUS segment // (as segment #4 in loop) ======================================================================== */ instance BUS_TLF411 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 4 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "1" // = Underlying business function instance BUS_TLF414 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 4 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 4 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) instance BUS_TLF42 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 4 edi#dataStructure1Line2 hasValue 2 edi#restrictionType hasValue edi#FR_Required edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "DO" // = Domestic edi#value1 hasValue "IN" // = International edi#value1 hasValue "YC4" // = European (SWIFT Code) instance BUS_TLF43 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 4 edi#dataStructure1Line2 hasValue 3 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "1" // = Clean payment edi#value1 hasValue "4" // = Documentary payment instance BUS_TLF45 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 4 edi#dataStructure1Line2 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "1" // = Intra-company payment /* ======================================================================== // Format and Restriction for Loop CCI - CAV - MEA ======================================================================== */ instance CCI_CAV_MEA_Loop_TSF memberOf edi#Format edi#formatFor1stComponent hasValue fc#FC_M1 edi#formatFor2ndComponent hasValue fc#FC_O10 edi#formatFor3rdComponent hasValue fc#FC_O10 instance CCI_CAV_MEA_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for PRODAT_Loop7 message (PRODAT_Loop7)" endNonFunctionalProperties edi#formats1stComponent hasValue ds#CCI_DS edi#formats2ndComponent hasValue ds#CAV_DS edi#formats3rdComponent hasValue ds#MEA_DS instance CCI_CAV_MEA_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue eancom#CCI_CAV_MEA_Loop_TSF edi#hasFormatDescriptor hasValue eancom#CCI_CAV_MEA_Loop_FD edi#hasTLFormatRestriction hasValue scr#R_TLF33 edi#hasTLFormatRestriction hasValue scr#F_TLF335 edi#hasTLFormatRestriction hasValue scr#F_TLF34 // PROINQ loop 5; PRICAT loop 37 /* ======================================================================== // CTA - COM loop ======================================================================== */ instance CTA_COM_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for CTA-COM loops" endNonFunctionalProperties edi#formats1stComponent hasValue ds#CTA_DS edi#formats2ndComponent hasValue ds#COM_DS instance CTA_COM_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O5_Format edi#hasFormatDescriptor hasValue CTA_COM_Loop_FD instance CTA_COM_M1O1_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O1_Format edi#hasFormatDescriptor hasValue CTA_COM_Loop_FD instance CTA_COM_M1O5_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O5_Format edi#hasFormatDescriptor hasValue CTA_COM_Loop_FD instance CTA_COM_M1O9_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O9_Format edi#hasFormatDescriptor hasValue CTA_COM_Loop_FD instance CTA_COM_M1O10_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O10_Format edi#hasFormatDescriptor hasValue CTA_COM_Loop_FD /* ======================================================================== // CUX loop ======================================================================== */ instance CUX_Loop_TLF111 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "2" // = Reference currency instance CUX_Loop_TLF113 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 3 edi#restrictionType hasValue edi#FR_Required edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "11" // = Payment currency instance CUX_Loop_TLF121 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "3" // = Target currency instance CUX_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for CUX loops" endNonFunctionalProperties edi#formats1stComponent hasValue ds#CUX_DS instance CUX_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue M1_Only_Format edi#hasFormatDescriptor hasValue CUX_Loop_FD // edi#hasTLFormatRestriction hasValue scr#F_TLF114 instance CUX_TLF3_2 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "The rate of exchange is only used if a target currency has been identified in the second occurrence of C504" endNonFunctionalProperties edi#dataStructure1Line1 hasValue 3 edi#dataStructure2Line1 hasValue 2 edi#restrictionType hasValue edi#FR_Conditional instance ds#CUX_DS memberOf edi#DataSegment edi#hasFormatDescriptor hasValue CUX_TLF3_2 /* ======================================================================== // Format Restriction for DIM - EQN loop ======================================================================== */ instance DIM_TLF11 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "1" // = Gross dimensions edi#value1 hasValue "10E" // = Unit gross dimensions (EAN Code) instance DIM_EQN_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for DIM - EQN loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#DIM_DS edi#formats2ndComponent hasValue ds#EQN_DS instance DIM_EQN_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O1_Format edi#hasFormatDescriptor hasValue DIM_EQN_FD edi#hasTLFormatRestriction hasValue DIM_TLF11 edi#hasTLFormatRestriction hasValue scr#F_TLF212 // IFCSUM_Loop53, IFTMAN_Loop21, IFTMBF_Loop19, IFTSTA_Loop14 /* ======================================================================== // Format Restriction for DTM segment ======================================================================== */ instance DTM_TLF311 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "Identification of the 'Document/message date/time' (code value 137) is mandatory in an EANCOM message." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 3 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_SomeValue edi#value1 hasValue "137" // = Document/message date/time: Date when the document is created instance DTM_TLF311V memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 3 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "137" // = Document/message date/time: Date when the document is created /* ======================================================================== // Format Restriction for FII Loop ======================================================================== */ instance FII_TLF11 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "MS" // = Document/message issuer/sender instance FII_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for FII-only loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#FII_DS instance FII_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_Only_Format edi#hasFormatDescriptor hasValue FII_Loop_FD edi#hasTLFormatRestriction hasValue FII_TLF11 edi#hasTLFormatRestriction hasValue scr#F_TLF12 edi#hasTLFormatRestriction hasValue scr#R_TLF13 instance FII_Loop2 memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_Only_Format edi#hasFormatDescriptor hasValue FII_Loop_FD edi#hasTLFormatRestriction hasValue scr#R_TLF12 /* ======================================================================== // Universal Format Restrictions for FTX segments ======================================================================== */ instance FTX_TLF3_4 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "This composite is only used if coded text can not be used." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 3 edi#dataStructure2Line1 hasValue 4 edi#restrictionType hasValue edi#FR_ExclusiveUse instance FTX_TLF5_4 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "This data element is only used when non coded free text has been provided in data element C108." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 5 edi#dataStructure2Line1 hasValue 4 edi#restrictionType hasValue edi#FR_Conditional instance ds#FTX_DS memberOf edi#DataSegment edi#hasTLFormatRestriction hasValue FTX_TLF3_4 edi#hasTLFormatRestriction hasValue FTX_TLF5_4 /* ======================================================================== // Format Restriction for GID segment ======================================================================== */ instance GID_TLF124 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 4 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) instance GID_TLF134 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 3 edi#dataStructure1Line3 hasValue 4 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) instance GID_TLF144 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 4 edi#dataStructure1Line3 hasValue 4 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) instance GID_TLF154 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 5 edi#dataStructure1Line3 hasValue 4 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) instance GID_TLF164 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 6 edi#dataStructure1Line3 hasValue 4 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) instance GID_TLF122_124 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DE 3055: This data element is only used with the code value '9' if the Type of Packages identified in data element 7065 is an EAN Code." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 2 edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 2 edi#dataStructure2Line3 hasValue 4 edi#restrictionType hasValue edi#FR_ValueRequires edi#value1 hasValue "09" // = Returnable pallet (EAN Code) edi#value1 hasValue "201" // = Pallet ISO 1 - 1/1 EURO Pallet (EAN Code) instance GID_TLF132_134 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DE 3055: This data element is only used with the code value '9' if the Type of Packages identified in data element 7065 is an EAN Code." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 3 edi#dataStructure1Line3 hasValue 2 edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 3 edi#dataStructure2Line3 hasValue 4 edi#restrictionType hasValue edi#FR_ValueRequires edi#value1 hasValue "09" // = Returnable pallet (EAN Code) edi#value1 hasValue "201" // = Pallet ISO 1 - 1/1 EURO Pallet (EAN Code) instance GID_TLF142_144 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DE 3055: This data element is only used with the code value '9' if the Type of Packages identified in data element 7065 is an EAN Code." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 4 edi#dataStructure1Line3 hasValue 2 edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 4 edi#dataStructure2Line3 hasValue 4 edi#restrictionType hasValue edi#FR_ValueRequires edi#value1 hasValue "09" // = Returnable pallet (EAN Code) edi#value1 hasValue "201" // = Pallet ISO 1 - 1/1 EURO Pallet (EAN Code) instance GID_TLF152_154 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DE 3055: This data element is only used with the code value '9' if the Type of Packages identified in data element 7065 is an EAN Code." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 5 edi#dataStructure1Line3 hasValue 2 edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 5 edi#dataStructure2Line3 hasValue 4 edi#restrictionType hasValue edi#FR_ValueRequires edi#value1 hasValue "09" // = Returnable pallet (EAN Code) edi#value1 hasValue "201" // = Pallet ISO 1 - 1/1 EURO Pallet (EAN Code) instance GID_TLF162_164 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DE 3055: This data element is only used with the code value '9' if the Type of Packages identified in data element 7065 is an EAN Code." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 6 edi#dataStructure1Line3 hasValue 2 edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 6 edi#dataStructure2Line3 hasValue 4 edi#restrictionType hasValue edi#FR_ValueRequires edi#value1 hasValue "09" // = Returnable pallet (EAN Code) edi#value1 hasValue "201" // = Pallet ISO 1 - 1/1 EURO Pallet (EAN Code) /* ======================================================================== // Universal Format Restriction for GIN segments ======================================================================== */ /* instance GIN_TLF22_21 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "The first DE 7402 in the composite data element is the start of the consecutively numbered range, the second DE 7402 indicates the end of the range. If there is no range only the first DE 7402 is used." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 2 edi#dataStructure2Line1 hasValue 2 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF32_31 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "The first DE 7402 in the composite data element is the start of the consecutively numbered range, the second DE 7402 indicates the end of the range. If there is no range only the first DE 7402 is used." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 3 edi#dataStructure1Line2 hasValue 2 edi#dataStructure2Line1 hasValue 3 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF42_41 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "The first DE 7402 in the composite data element is the start of the consecutively numbered range, the second DE 7402 indicates the end of the range. If there is no range only the first DE 7402 is used." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 4 edi#dataStructure1Line2 hasValue 2 edi#dataStructure2Line1 hasValue 4 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF52_51 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "The first DE 7402 in the composite data element is the start of the consecutively numbered range, the second DE 7402 indicates the end of the range. If there is no range only the first DE 7402 is used." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 5 edi#dataStructure1Line2 hasValue 2 edi#dataStructure2Line1 hasValue 5 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF62_61 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "The first DE 7402 in the composite data element is the start of the consecutively numbered range, the second DE 7402 indicates the end of the range. If there is no range only the first DE 7402 is used." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 6 edi#dataStructure1Line2 hasValue 2 edi#dataStructure2Line1 hasValue 6 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF31_21 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "If the identity numbers are not sequential and part of a series (e.g. 1,3,10) then a separate CO C208 and DE 7402 must be used for each identity number." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 3 edi#dataStructure1Line2 hasValue 1 edi#dataStructure2Line1 hasValue 2 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Conditional edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF31_22 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "If the identity numbers are not sequential and part of a series (e.g. 1,3,10) then a separate CO C208 and DE 7402 must be used for each identity number." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 3 edi#dataStructure1Line2 hasValue 1 edi#dataStructure2Line1 hasValue 2 edi#dataStructure2Line2 hasValue 2 edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF41_31 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "If the identity numbers are not sequential and part of a series (e.g. 1,3,10) then a separate CO C208 and DE 7402 must be used for each identity number." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 4 edi#dataStructure1Line2 hasValue 1 edi#dataStructure2Line1 hasValue 3 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Conditional edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF41_32 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "If the identity numbers are not sequential and part of a series (e.g. 1,3,10) then a separate CO C208 and DE 7402 must be used for each identity number." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 4 edi#dataStructure1Line2 hasValue 1 edi#dataStructure2Line1 hasValue 3 edi#dataStructure2Line2 hasValue 2 edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF51_41 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "If the identity numbers are not sequential and part of a series (e.g. 1,3,10) then a separate CO C208 and DE 7402 must be used for each identity number." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 5 edi#dataStructure1Line2 hasValue 1 edi#dataStructure2Line1 hasValue 4 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Conditional edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF51_42 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "If the identity numbers are not sequential and part of a series (e.g. 1,3,10) then a separate CO C208 and DE 7402 must be used for each identity number." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 5 edi#dataStructure1Line2 hasValue 1 edi#dataStructure2Line1 hasValue 4 edi#dataStructure2Line2 hasValue 2 edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF61_51 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "If the identity numbers are not sequential and part of a series (e.g. 1,3,10) then a separate CO C208 and DE 7402 must be used for each identity number." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 6 edi#dataStructure1Line2 hasValue 1 edi#dataStructure2Line1 hasValue 5 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Conditional edi#restrictionType hasValue edi#FR_GreaterValue instance GIN_TLF61_52 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "If the identity numbers are not sequential and part of a series (e.g. 1,3,10) then a separate CO C208 and DE 7402 must be used for each identity number." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 6 edi#dataStructure1Line2 hasValue 1 edi#dataStructure2Line1 hasValue 5 edi#dataStructure2Line2 hasValue 2 edi#restrictionType hasValue edi#FR_GreaterValue instance ds#GIN_DS memberOf edi#DataSegment edi#hasTLFormatRestriction hasValue GIN_TLF22_21 edi#hasTLFormatRestriction hasValue GIN_TLF32_31 edi#hasTLFormatRestriction hasValue GIN_TLF42_41 edi#hasTLFormatRestriction hasValue GIN_TLF52_51 edi#hasTLFormatRestriction hasValue GIN_TLF62_61 edi#hasTLFormatRestriction hasValue GIN_TLF31_21 edi#hasTLFormatRestriction hasValue GIN_TLF41_31 edi#hasTLFormatRestriction hasValue GIN_TLF51_41 edi#hasTLFormatRestriction hasValue GIN_TLF61_51 edi#hasTLFormatRestriction hasValue GIN_TLF31_22 edi#hasTLFormatRestriction hasValue GIN_TLF41_32 edi#hasTLFormatRestriction hasValue GIN_TLF51_42 edi#hasTLFormatRestriction hasValue GIN_TLF61_52 /* ======================================================================== // Common (not universal) Format Restriction for LIN segments // (as first segment in loop) ======================================================================== */ instance LIN_Loop_TLF132 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 3 edi#dataStructure1Line3 hasValue 2 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "SRV" // = EAN.UCC Global Trade Item Number instance LIN_Loop_TLF141 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 4 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "1" // = Sub-line information // as second segment in loop instance LIN_Loop_TLF21 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "1" // = Additional identification /* ======================================================================== // Common (not universal) Format Restriction for LOC segments // (as first, then second, segment in loop) ======================================================================== */ instance LOC_TLF23_21 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 3 edi#dataStructure2Line1 hasValue 2 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Conditional instance LOC_TLF33_31 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 3 edi#dataStructure1Line2 hasValue 3 edi#dataStructure2Line1 hasValue 3 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Conditional instance LOC_TLF43_41 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 4 edi#dataStructure1Line2 hasValue 3 edi#dataStructure2Line1 hasValue 4 edi#dataStructure2Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Conditional instance ds#LOC_DS memberOf edi#DataSegment edi#hasTLFormatRestriction hasValue LOC_TLF23_21 edi#hasTLFormatRestriction hasValue LOC_TLF33_31 edi#hasTLFormatRestriction hasValue LOC_TLF43_41 instance LOC_TLF21 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "1" // = Place of terms of delivery /* ======================================================================== // Common (not universal) Format Restriction for MOA - RNG Loop ======================================================================== */ instance MOA_RNG_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for MOA_RNG_Loop message (MOA_RNG_Loop)" endNonFunctionalProperties edi#formats1stComponent hasValue ds#MOA_DS edi#formats2ndComponent hasValue ds#RNG_DS instance MOA_RNG_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_099_Format edi#hasFormatDescriptor hasValue MOA_RNG_Loop_FD /* ======================================================================== // Common (not universal) Format Restriction for NAD segments // as first segment in loop. // Usually structured address advised. Sometimes C058 used instead. ======================================================================== */ instance NAD_TLF123 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 3 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // 9 = EAN (International Article Numbering association) instance NAD_Loop_TLF14 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#restrictionType hasValue edi#FR_ExclusiveUse edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 4 instance NAD_Loop_TLF15 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#restrictionType hasValue edi#FR_ExclusiveUse edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 5 instance NAD_Loop_TLF16 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#restrictionType hasValue edi#FR_ExclusiveUse edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 6 instance NAD_Loop_TLF17 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#restrictionType hasValue edi#FR_ExclusiveUse edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 7 instance NAD_Loop_TLF18 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#restrictionType hasValue edi#FR_ExclusiveUse edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 8 instance NAD_Loop_TLF19 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#restrictionType hasValue edi#FR_ExclusiveUse edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 9 instance NAD_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for NAD-only loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#NAD_DS instance NAD_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_Only_Format edi#hasFormatDescriptor hasValue NAD_Loop_FD edi#hasTLFormatRestriction hasValue scr#F_TLF122 edi#hasTLFormatRestriction hasValue NAD_TLF123 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF14 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF15 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF16 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF17 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF18 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF19 /* ======================================================================== // NAD - CTA - COM Loop ======================================================================== */ instance NAD_CTA_COM_TSF memberOf edi#Format edi#formatFor1stComponent hasValue fc#FC_M1 edi#formatFor2ndComponent hasValue fc#FC_O1 edi#formatFor3rdComponent hasValue fc#FC_O5 instance NAD_CTA_COM_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for NAD - CTA - COM Loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#NAD_DS edi#formats2ndComponent hasValue ds#CTA_DS edi#formats3rdComponent hasValue ds#COM_DS instance NAD_CTA_COM_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue NAD_CTA_COM_TSF edi#hasFormatDescriptor hasValue NAD_CTA_COM_FD edi#hasTLFormatRestriction hasValue NAD_TLF123 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF14 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF15 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF16 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF17 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF18 edi#hasTLFormatRestriction hasValue NAD_Loop_TLF19 /* ======================================================================== // Common (not universal) Format Restriction for PAC segments // (as first segment in loop) ======================================================================== */ instance PAC_QTY_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for PAC_QTY_Loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#PAC_DS edi#formats2ndComponent hasValue ds#QTY_DS instance PAC_QTY_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O1_Format edi#hasFormatDescriptor hasValue PAC_QTY_Loop_FD /* ======================================================================== // PCD - RNG Loop ======================================================================== */ instance PCD_RNG_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for PCD_RNG_Loop message (PCD_RNG_Loop)" endNonFunctionalProperties edi#formats1stComponent hasValue ds#PCD_DS edi#formats2ndComponent hasValue ds#RNG_DS instance PCD_RNG_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_099_Format edi#hasFormatDescriptor hasValue PCD_RNG_Loop_FD /*===================================================== Common Restriction on PIA ======================================================*/ instance PIA_TLF21 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "1" // = Additional identification edi#value1 hasValue "5" // = Product identification /* ======================================================================== // Common (not universal) Format Restriction for PRI segments // as first segment in loop ======================================================================== */ instance PRI_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for loop of just one mandatory PRI segment" endNonFunctionalProperties edi#formats1stComponent hasValue ds#PRI_DS instance PRI_Loop memberOf edi#DataSegmentLoop edi#hasFormatDescriptor hasValue PRI_Loop_FD edi#hasFormat hasValue fc#M1_Only_Format /* ======================================================================== // Common (not universal) Format Restriction for RFF segments ======================================================================== */ instance RFF_Loop_TLF111 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "FC" // = Fiscal number edi#value1 hasValue "GN" // = Government reference number edi#value1 hasValue "VA" // = VAT registration number edi#value1 hasValue "YC1" // = Additional party identification (EAN Code) instance RFF_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for RFF-only loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#RFF_DS // Rarely use RFF_Loop, since restrictions are often needed for 1.1.1 // However, restrictions can be stated from next loop out. instance RFF_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_Only_Format edi#hasFormatDescriptor hasValue RFF_Loop_FD edi#hasTLFormatRestriction hasValue scr#R_TLF112 edi#hasTLFormatRestriction hasValue scr#F_TLF113 edi#hasTLFormatRestriction hasValue scr#F_TLF114 /* ======================================================================== // Common loop: RFF-DTM ======================================================================== */ instance RFF_DTM_TLF211 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DTM's Date/time/period qualifier in RFF_DTM loop" endNonFunctionalProperties edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "171" // = Reference date/time instance RFF_DTM_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for RFF (mandatory) DTM loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#RFF_DS edi#formats2ndComponent hasValue ds#DTM_DS instance RFF_DTM_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_D1_Format edi#hasFormatDescriptor hasValue RFF_DTM_FD edi#hasTLFormatRestriction hasValue RFF_DTM_TLF211 edi#hasTLFormatRestriction hasValue scr#R_TLF112 edi#hasTLFormatRestriction hasValue scr#F_TLF114 instance RFF_DTM_M1O5_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O5_Format edi#hasFormatDescriptor hasValue RFF_DTM_FD edi#hasTLFormatRestriction hasValue RFF_DTM_TLF211 edi#hasTLFormatRestriction hasValue scr#R_TLF112 edi#hasTLFormatRestriction hasValue scr#F_TLF114 instance RFF_DTM_M1O9_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O9_Format edi#hasFormatDescriptor hasValue RFF_DTM_FD edi#hasTLFormatRestriction hasValue scr#R_TLF112 edi#hasTLFormatRestriction hasValue scr#F_TLF113 edi#hasTLFormatRestriction hasValue scr#F_TLF114 edi#hasTLFormatRestriction hasValue RFF_DTM_TLF211 instance RFF_DTM_M1O10_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O10_Format edi#hasFormatDescriptor hasValue RFF_DTM_FD edi#hasTLFormatRestriction hasValue scr#R_TLF112 edi#hasTLFormatRestriction hasValue scr#F_TLF113 edi#hasTLFormatRestriction hasValue scr#F_TLF114 edi#hasTLFormatRestriction hasValue RFF_DTM_TLF211 // = ================== SCC_DTM_Loop ========================= instance SCC_DTM_TLF211 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DTM's Date/time/period qualifier in SCC_DTM loop" endNonFunctionalProperties edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "2" // = Delivery date/time, requested edi#value2 hasValue "4" // = Order date/time edi#value3 hasValue "63" // = Delivery date/time, latest edi#value4 hasValue "64" // = Delivery date/time, earliest instance SCC_DTM_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for SCC (mandatory) DTM loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#SCC_DS edi#formats2ndComponent hasValue ds#DTM_DS instance SCC_DTM_Format memberOf edi#Format edi#formatFor1stComponent hasValue fc#FC_M1 edi#formatFor2ndComponent hasValue fc#FC_O2 instance SCC_DTM_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue SCC_DTM_Format edi#hasFormatDescriptor hasValue SCC_DTM_FD edi#hasTLFormatRestriction hasValue SCC_DTM_TLF211 /* ======================================================================== // Common (not universal) Format Restriction for TAX segments // (as first segment in loop) ======================================================================== */ instance TAX_Loop_TLF11 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "7" // = Tax instance TAX_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for loop of just one mandatory TAX segment" endNonFunctionalProperties edi#formats1stComponent hasValue ds#TAX_DS instance TAX_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_Only_Format edi#hasFormatDescriptor hasValue TAX_Loop_FD instance TAX_MOA_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for TAX - MOA Loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#TAX_DS edi#formats2ndComponent hasValue ds#MOA_DS instance TAX_MOA_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O1_Format edi#hasFormatDescriptor hasValue TAX_MOA_Loop_FD // edi#hasTLFormatRestriction hasValue scr#R_TLF154 // frequent // edi#hasTLFormatRestriction hasValue scr#F_TLF17 // frequent edi#hasTLFormatRestriction hasValue scr#F_TLF213 edi#hasTLFormatRestriction hasValue scr#F_TLF214 edi#hasTLFormatRestriction hasValue scr#F_TLF215 /* ======================================================================== // Common (not universal) Format Restriction for TDT segments // (as first segment in loop) ======================================================================== */ instance TDT_TLF11 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "20" // = Main-carriage transport instance TDT_TLF153 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 5 edi#dataStructure1Line3 hasValue 3 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "9" // = EAN (International Article Numbering association) instance TDT_TLF153_151 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DE 3055 must be used if DE 3127 is used." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 5 edi#dataStructure1Line3 hasValue 1 edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 5 edi#dataStructure2Line3 hasValue 3 edi#restrictionType hasValue edi#FR_Conditional instance TDT_TLF183_181 memberOf edi#TLFormatRestriction nonFunctionalProperties dc#description hasValue "DE 3055 must be used if DE 8213 is used." endNonFunctionalProperties edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 8 edi#dataStructure1Line3 hasValue 1 edi#dataStructure2Line1 hasValue 1 edi#dataStructure2Line2 hasValue 8 edi#dataStructure2Line3 hasValue 3 edi#restrictionType hasValue edi#FR_Conditional /* ======================================================================== // Common (not universal) Format Restriction for TOD-LOC Loop ======================================================================== */ instance TOD_LOC_Loop_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for TOD-LOC loop" endNonFunctionalProperties edi#formats1stComponent hasValue ds#TOD_DS edi#formats2ndComponent hasValue ds#LOC_DS instance TOD_LOC_Loop memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O2_Format edi#hasFormatDescriptor hasValue TOD_LOC_Loop_FD edi#hasTLFormatRestriction hasValue scr#F_TLF23 edi#hasTLFormatRestriction hasValue scr#F_TLF24 /* ======================================================================== // Universal Format Restriction for USA segments ======================================================================== */ instance USA_TLF12 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "16" // = DMSR instance USA_TLF13 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 3 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "1" // = UN/CEFACT instance USA_TLF15 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "1" // = UN/CEFACT instance USA_TLF16 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 6 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "7" // = ISO 9796 #2 padding instance USA_TLF17 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 7 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "1" // = UN/CEFACT instance ds#USA_DS memberOf edi#DataSegment edi#hasTLFormatRestriction hasValue USA_TLF12 edi#hasTLFormatRestriction hasValue USA_TLF13 edi#hasTLFormatRestriction hasValue USA_TLF15 edi#hasTLFormatRestriction hasValue USA_TLF16 edi#hasTLFormatRestriction hasValue USA_TLF17 /* ======================================================================== // Universal Format Restriction for USC segments ======================================================================== */ instance USC_TLF1_21 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#restrictionType hasValue edi#FR_RequiresValues edi#dataStructure2Line1 hasValue 2 edi#dataStructure2Line2 hasValue 1 edi#value2 hasValue "4" // = Authenticating party instance USC_TLF21 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "3" // = Certificate owner edi#value1 hasValue "4" // = Authenticating party instance USC_TLF24 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 4 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "2" // = EAN edi#value1 hasValue "ZZZ" // = Mutually agreed instance ds#USC_DS memberOf edi#DataSegment edi#hasTLFormatRestriction hasValue USC_TLF21 edi#hasTLFormatRestriction hasValue USC_TLF24