Framework EDI Reference. Methods and Properties
ediGroup. CreateTransactionSet

Creates a Transaction Set within the Functional Group.

Syntax:

Parameters:

Returns

Object of type FREDI.ediTransactionSet.

Controlling Agency:

Remarks

This method is the same as the CreateMessage method and can also be used for creating UN/EDIFACT Messages. 

Example

Set oTransactionset = oInterchange.CreateTransactionSet("INVOIC")
Set oSegment = oTransactionset.GetDataSegmentHeader
oSegment.DataElementValue(1) = "0001"
oSegment.DataElementValue(2, 1) = "INVOIC"
oSegment.DataElementValue(2, 2) = "S"
oSegment.DataElementValue(2, 3) = "93A"
oSegment.DataElementValue(2, 4) = "UN"