public static AdvancedShipNotice CreateSearchByKey(string receiptkey)
        {
            AdvancedShipNotice asn = new AdvancedShipNotice();
            AdvancedShipNoticeHeader header = new AdvancedShipNoticeHeader();
            header.ReceiptKey = receiptkey;
            asn.AdvancedShipNoticeHeader = header;

            return asn;
        }
        public static AdvancedShipNotice CreateSearchByLineNum(string receiptkey,string linenum)
        {
            AdvancedShipNotice asn = new AdvancedShipNotice();
            AdvancedShipNoticeHeader header = new AdvancedShipNoticeHeader();
            AdvancedShipNoticeDetail detail = new AdvancedShipNoticeDetail();
            detail.ReceiptLineNumber = linenum;
            header.ReceiptKey = receiptkey;
            header.AdvancedShipNoticeDetail.Add(detail);
            asn.AdvancedShipNoticeHeader = header;

            return asn;
        }
 public AdvancedShipNotice()
 {
     this.advancedShipNoticeHeaderField = new AdvancedShipNoticeHeader();
 }