Example #1
0
 public PLGBARAlloc(PLGBARAlloc a)
 {
     this.Initialize();
     if (a.m_Amount.m_bIsSet)
     {
         this.Amount = a.Amount;
     }
     if (a.m_ApplyTo.m_bIsSet)
     {
         this.ApplyTo = a.ApplyTo;
     }
     if (a.m_ApplyToLawyer.m_bIsSet)
     {
         this.ApplyToLawyer = a.ApplyToLawyer;
     }
     if (a.m_ARAllocType.m_bIsSet)
     {
         this.ARAllocType = a.ARAllocType;
     }
     if (!a.m_InvID.m_bIsSet)
     {
         return;
     }
     this.InvID = a.InvID;
 }
Example #2
0
        protected override void Initialize()
        {
            this.m_sTableName = "EntryGeneral";
            List <CPostItem> postItems1 = this.PostItems;
            CPostItem        cpostItem1 = new CPostItem(CPostItem.DataType.LONG, "GeneralEntryID");
            CPostItem        cpostItem2 = cpostItem1;

            this.m_ID = cpostItem1;
            postItems1.Add(cpostItem2);
            List <CPostItem> postItems2 = this.PostItems;
            CPostItem        cpostItem3 = new CPostItem(CPostItem.DataType.LONG, "GeneralEntryStatus");
            CPostItem        cpostItem4 = cpostItem3;

            this.m_Status = cpostItem3;
            postItems2.Add(cpostItem4);
            List <CPostItem> postItems3 = this.PostItems;
            CPostItem        cpostItem5 = new CPostItem(CPostItem.DataType.LONG, "GeneralBankAcctID");
            CPostItem        cpostItem6 = cpostItem5;

            this.m_BankAcctID = cpostItem5;
            postItems3.Add(cpostItem6);
            List <CPostItem> postItems4 = this.PostItems;
            CPostItem        cpostItem7 = new CPostItem(CPostItem.DataType.LONG, "GeneralEntryDate");
            CPostItem        cpostItem8 = cpostItem7;

            this.m_Date = cpostItem7;
            postItems4.Add(cpostItem8);
            List <CPostItem> postItems5  = this.PostItems;
            CPostItem        cpostItem9  = new CPostItem(CPostItem.DataType.DOUBLE, "GeneralEntryTotalAmount");
            CPostItem        cpostItem10 = cpostItem9;

            this.m_TotalAmount = cpostItem9;
            postItems5.Add(cpostItem10);
            List <CPostItem> postItems6  = this.PostItems;
            CPostItem        cpostItem11 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryPaidTo");
            CPostItem        cpostItem12 = cpostItem11;

            this.m_PaidTo = cpostItem11;
            postItems6.Add(cpostItem12);
            List <CPostItem> postItems7  = this.PostItems;
            CPostItem        cpostItem13 = new CPostItem(CPostItem.DataType.LONG, "GeneralEntryGSTCat");
            CPostItem        cpostItem14 = cpostItem13;

            this.m_EntryGSTCat = cpostItem13;
            postItems7.Add(cpostItem14);
            List <CPostItem> postItems8  = this.PostItems;
            CPostItem        cpostItem15 = new CPostItem(CPostItem.DataType.DOUBLE, "GeneralEntryGSTAmount");
            CPostItem        cpostItem16 = cpostItem15;

            this.m_GSTAmount = cpostItem15;
            postItems8.Add(cpostItem16);
            List <CPostItem> postItems9  = this.PostItems;
            CPostItem        cpostItem17 = new CPostItem(CPostItem.DataType.LONG, "GeneralEntryEntryType");
            CPostItem        cpostItem18 = cpostItem17;

            this.m_EntryType = cpostItem17;
            postItems9.Add(cpostItem18);
            List <CPostItem> postItems10 = this.PostItems;
            CPostItem        cpostItem19 = new CPostItem(CPostItem.DataType.LONG, "GeneralEntryPmtMethodFlag");
            CPostItem        cpostItem20 = cpostItem19;

            this.m_PmtMethodFlag = cpostItem19;
            postItems10.Add(cpostItem20);
            List <CPostItem> postItems11 = this.PostItems;
            CPostItem        cpostItem21 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryCheckNum");
            CPostItem        cpostItem22 = cpostItem21;

            this.m_CheckNum = cpostItem21;
            postItems11.Add(cpostItem22);
            List <CPostItem> postItems12 = this.PostItems;
            CPostItem        cpostItem23 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryOrigBank");
            CPostItem        cpostItem24 = cpostItem23;

            this.m_OrigBank = cpostItem23;
            postItems12.Add(cpostItem24);
            List <CPostItem> postItems13 = this.PostItems;
            CPostItem        cpostItem25 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryClientCheckNum");
            CPostItem        cpostItem26 = cpostItem25;

            this.m_ClientCheckNum = cpostItem25;
            postItems13.Add(cpostItem26);
            List <CPostItem> postItems14 = this.PostItems;
            CPostItem        cpostItem27 = new CPostItem(CPostItem.DataType.LONG, "GeneralEntryDateEntered");
            CPostItem        cpostItem28 = cpostItem27;

            this.m_DateEntered = cpostItem27;
            postItems14.Add(cpostItem28);
            List <CPostItem> postItems15 = this.PostItems;
            CPostItem        cpostItem29 = new CPostItem(CPostItem.DataType.STRING, "GeneralQuickBooksID");
            CPostItem        cpostItem30 = cpostItem29;

            this.m_QuickBooksID = cpostItem29;
            postItems15.Add(cpostItem30);
            List <CPostItem> postItems16 = this.PostItems;
            CPostItem        cpostItem31 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryAddrLine1");
            CPostItem        cpostItem32 = cpostItem31;

            this.m_AddrLine1 = cpostItem31;
            postItems16.Add(cpostItem32);
            List <CPostItem> postItems17 = this.PostItems;
            CPostItem        cpostItem33 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryAddrLine2");
            CPostItem        cpostItem34 = cpostItem33;

            this.m_AddrLine2 = cpostItem33;
            postItems17.Add(cpostItem34);
            List <CPostItem> postItems18 = this.PostItems;
            CPostItem        cpostItem35 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryAddrCity");
            CPostItem        cpostItem36 = cpostItem35;

            this.m_AddrCity = cpostItem35;
            postItems18.Add(cpostItem36);
            List <CPostItem> postItems19 = this.PostItems;
            CPostItem        cpostItem37 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryAddrState");
            CPostItem        cpostItem38 = cpostItem37;

            this.m_AddrState = cpostItem37;
            postItems19.Add(cpostItem38);
            List <CPostItem> postItems20 = this.PostItems;
            CPostItem        cpostItem39 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryAddrZip");
            CPostItem        cpostItem40 = cpostItem39;

            this.m_AddrZip = cpostItem39;
            postItems20.Add(cpostItem40);
            List <CPostItem> postItems21 = this.PostItems;
            CPostItem        cpostItem41 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryAddrCountry");
            CPostItem        cpostItem42 = cpostItem41;

            this.m_AddrCountry = cpostItem41;
            postItems21.Add(cpostItem42);
            List <CPostItem> postItems22 = this.PostItems;
            CPostItem        cpostItem43 = new CPostItem(CPostItem.DataType.STRING, "GeneralEntryAddrExpl");
            CPostItem        cpostItem44 = cpostItem43;

            this.m_AddrCheckExpl = cpostItem43;
            postItems22.Add(cpostItem44);
            List <CPostItem> postItems23 = this.PostItems;
            CPostItem        cpostItem45 = new CPostItem(CPostItem.DataType.LONG, "GeneralReverseEntryID");
            CPostItem        cpostItem46 = cpostItem45;

            this.m_ReverseEntryID = cpostItem45;
            postItems23.Add(cpostItem46);
            this.Alloc          = new PLGBAlloc();
            this.RcptARAlloc    = new PLGBARAlloc();
            this.m_AllocArray   = new List <PLGBAlloc>();
            this.m_ARAllocArray = new List <PLGBARAlloc>();
        }