definitions/segments/rff.rb in eancom-1.6.3 vs definitions/segments/rff.rb in eancom-2.0.0
- old
+ new
@@ -6,11 +6,11 @@
# Tag #
#==============================================================================
tag = Eancom::Edifact::Composite.new()
data = Eancom::Edifact::Data.new(
type: String,
- length: 3,
+ length: 1..3,
dictionary: nil,
description: "Message Header",
required: true
)
tag.add(:tag, data)
@@ -47,18 +47,18 @@
},
'AFO' => {
description: 'Beneficiarys reference',
identifier: 'beneficiarys_reference'
},
- 'AJS' => {
- description: 'Agreement number',
- identifier: 'agreement_number'
- },
'ALL' => {
description: 'Message Batch number',
identifier: 'message_batch_number'
},
+ 'ALO' => {
+ description: 'Receiving advice number',
+ identifier: 'receiving_advice_number'
+ },
'AIZ' => {
description: 'Consolidated Invoice number',
identifier: 'consolidated_invoice_number'
},
'AMT' => {
@@ -71,10 +71,30 @@
},
'AWT' => {
description: 'Administrative reference Code',
identifier: 'administrative_reference_code'
},
+ 'AVD' => {
+ description: 'Inventory report request number',
+ identifier: 'inventory_report_request_number'
+ },
+ 'AVG' => {
+ description: 'Slaughterhouse approval number',
+ identifier: 'slaughterhouse_approval_number'
+ },
+ 'AVH' => {
+ description: 'Meat cutting plant approval number',
+ identifier: 'meat_cutting_plant_approval_number'
+ },
+ 'AVQ' => {
+ description: 'Place of packaging approval number',
+ identifier: 'place_of_packaging_approval_number'
+ },
+ 'AQQ' => {
+ description: 'Active Principale Exercee (APE) identifier',
+ identifier: 'active_principale_exercee_identifier'
+ },
'CD' => {
description: 'Credit note number',
identifier: 'credit_note_number'
},
'CR' => {
@@ -83,18 +103,18 @@
},
'CT' => {
description: 'Contact number',
identifier: 'contact_number'
},
- 'DL' => {
- description: 'Debit note number',
- identifier: 'debit_note_number'
- },
'DQ' => {
description: 'Delivery note number',
- identifier: 'delivery_note_number'
+ identifier: 'deliver_note_number'
},
+ 'GN' => {
+ description: 'Government reference number',
+ identifier: 'government_reference_number'
+ },
'FC' => {
description: 'Fiscal number',
identifier: 'fiscal_number'
},
'IP' => {
@@ -123,28 +143,44 @@
},
'PP' => {
description: 'Purchase order change number',
identifier: 'purchase_order_change_number'
},
+ 'PQ' => {
+ description: 'Payment reference',
+ identifier: 'payment_reference'
+ },
'RF' => {
description: 'Export reference number',
identifier: 'export_reference_number'
},
'TN' => {
description: 'Transaction reference number',
identifier: 'transaction_reference_number'
},
+ 'UC' => {
+ description: 'Ultimate consignee',
+ identifier: 'ultimate_consignee'
+ },
'VN' => {
description: 'Order number (supplier)',
identifier: 'order_number_supplier'
},
'VA' => {
description: 'VAT registration number',
identifier: 'vat_registration_number'
},
- 'XB8' => {
- description: 'Agreement number',
- identifier: 'agreement_number_old'
+ 'XA' => {
+ description: 'Company/place registration number',
+ identifier: 'company_place_registration_number'
+ },
+ 'YC1' => {
+ description: 'Additional party identification (GS1 Temporary Code)',
+ identifier: 'additional_party_identification'
+ },
+ 'YC3' => {
+ description: 'Farm approval number (GS1 Temporary Code)',
+ identifier: 'farm_approval_number'
}
},
description: "Reference code quailifier",
required: true
)