Sha256: 14c386c9aae86b45a5fd716f98e7a707938d2c2b44c56215543778f138847d37
Contents?: true
Size: 1.3 KB
Versions: 15
Compression:
Stored size: 1.3 KB
Contents
tag = 'UNS' Eancom.register_segment(tag: tag, klass: Eancom::Edifact::UNS) structure = Eancom::Edifact::Structure.new(tag: tag) #============================================================================== # Tag # #============================================================================== tag = Eancom::Edifact::Composite.new() data = Eancom::Edifact::Data.new( type: String, length: 3, dictionary: nil, description: "Message Header", required: true ) tag.add(:tag, data) structure << tag #============================================================================== # Section identification #============================================================================== section_identification = Eancom::Edifact::Composite.new() data = Eancom::Edifact::Data.new( type: String, length: 1, dictionary: { 'S' => { description: 'Detail/summary section separation', identifier: 'detail_summary_section_separation' } }, description: "Section identification", required: true ) section_identification.add(:section_identification, data) structure << section_identification #============================================================================== Eancom.register_structure(tag: 'UNS', structure: structure)
Version data entries
15 entries across 15 versions & 1 rubygems