Provides control information for a document which uniquely identifies
the document.
Namespace:
BargeExAssembly: BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)
Syntax
C# |
---|
[SerializableAttribute] public class DocumentHeader : SerializableBase |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class DocumentHeader _ Inherits SerializableBase |
Visual C++ |
---|
[SerializableAttribute] public ref class DocumentHeader : public SerializableBase |
Remarks
This class provides control information for a document which uniquely
identifies the document.
This class is the BargeEx API representation of the ASC X12 CICA Standard
Document Header Module (M78) and the Standard Document Header Acknowledged
Module (M90).
Examples
The following example creates an instance of the
DocumentHeader class
and sets its common properties.
CopyVisual Basic
' Create a new BargeEx DocumentHeader object Dim DocumentHeader As New BargeEx.DocumentHeader() ' Update the DocumentHeader properties before ' returning the object to the user With DocumentHeader ' Update the DocumentHeader property .SenderTradingPartnerNumber = "12345678" .ReceiverTradingPartnerNumber = "87654321" .InstanceIdentifier = "ABC123" .CreateDateTime = DateTime.Parse("01/01/2008 16:00") End With ' DocumentHeader
CopyC#
// Create a new BargeEx DocumentHeader object BargeEx.DocumentHeader DocumentHeader = new BargeEx.DocumentHeader(); // Update the DocumentHeader properties before // returning the object to the user // Update the DocumentHeader property DocumentHeader.SenderTradingPartnerNumber = "12345678"; DocumentHeader.ReceiverTradingPartnerNumber = "87654321"; DocumentHeader.InstanceIdentifier = "ABC123"; DocumentHeader.CreateDateTime = DateTime.Parse("01/01/2008 16:00");