You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
604 B
17 lines
604 B
using System;
|
|
|
|
namespace Win_in.Sfs.Scp.WebApi.Asns;
|
|
|
|
public static class ASN_X12_856_3060Extensions
|
|
{
|
|
public static void SetISA(this ASN_X12_856_3060 asn,string asnCode,string senderId, string receiverId, DateTime datetime, ISA.EnvType envType = ISA.EnvType.P,
|
|
string authorization = " ", string security = " ")
|
|
{
|
|
asn.ISA = new ISA(asnCode,senderId,receiverId,datetime,envType,authorization,security);
|
|
}
|
|
|
|
public static void SetIEA(this ASN_X12_856_3060 asn,string asnCode)
|
|
{
|
|
asn.IEA = new IEA(asnCode, asn.FunctionalGroups.Count);
|
|
}
|
|
}
|