protected override void Initialize() { this.m_sTableName = "Vendor"; this.Name = new PLName(PLName.eNameType.VENDOR); this.Address = new PLAddress(PLAddress.eAddType.VENDOR); this.Phone = new PLPhone(PLPhone.ePhoneType.VENDOR); List <CPostItem> postItems1 = this.PostItems; CPostItem cpostItem1 = new CPostItem(CPostItem.DataType.LONG, "VendorID"); CPostItem cpostItem2 = cpostItem1; this.m_ID = cpostItem1; postItems1.Add(cpostItem2); List <CPostItem> postItems2 = this.PostItems; CPostItem cpostItem3 = new CPostItem(CPostItem.DataType.LONG, "VendorStatus"); CPostItem cpostItem4 = cpostItem3; this.m_Status = cpostItem3; postItems2.Add(cpostItem4); List <CPostItem> postItems3 = this.PostItems; CPostItem cpostItem5 = new CPostItem(CPostItem.DataType.STRING, "VendorNickName"); CPostItem cpostItem6 = cpostItem5; this.m_NickName = cpostItem5; postItems3.Add(cpostItem6); List <CPostItem> postItems4 = this.PostItems; CPostItem cpostItem7 = new CPostItem(CPostItem.DataType.LONG, "DefExplCodeID"); CPostItem cpostItem8 = cpostItem7; this.m_DefExpCode = cpostItem7; postItems4.Add(cpostItem8); this.DefExpCodeNN = ""; List <CPostItem> postItems5 = this.PostItems; CPostItem cpostItem9 = new CPostItem(CPostItem.DataType.LONG, "DefGLAcctID"); CPostItem cpostItem10 = cpostItem9; this.m_DefGLAcctID = cpostItem9; postItems5.Add(cpostItem10); this.DefGLAcctNN = ""; List <CPostItem> postItems6 = this.PostItems; CPostItem cpostItem11 = new CPostItem(CPostItem.DataType.LONG, "Vendor1099BoxNum"); CPostItem cpostItem12 = cpostItem11; this.m_US1099BoxNumber = cpostItem11; postItems6.Add(cpostItem12); List <CPostItem> postItems7 = this.PostItems; CPostItem cpostItem13 = new CPostItem(CPostItem.DataType.STRING, "Vendor1099ID"); CPostItem cpostItem14 = cpostItem13; this.m_US1099ID = cpostItem13; postItems7.Add(cpostItem14); List <CPostItem> postItems8 = this.PostItems; CPostItem cpostItem15 = new CPostItem(CPostItem.DataType.STRING, "Vendor1099Type"); CPostItem cpostItem16 = cpostItem15; this.m_US1099Type = cpostItem15; postItems8.Add(cpostItem16); List <CPostItem> postItems9 = this.PostItems; CPostItem cpostItem17 = new CPostItem(CPostItem.DataType.STRING, "VendorAcctNum"); CPostItem cpostItem18 = cpostItem17; this.m_AcctNum = cpostItem17; postItems9.Add(cpostItem18); List <CPostItem> postItems10 = this.PostItems; CPostItem cpostItem19 = new CPostItem(CPostItem.DataType.BOOL, "VendorActiveFlag"); CPostItem cpostItem20 = cpostItem19; this.m_ActiveFlag = cpostItem19; postItems10.Add(cpostItem20); List <CPostItem> postItems11 = this.PostItems; CPostItem cpostItem21 = new CPostItem(CPostItem.DataType.LONG, "VendorDefGSTCat"); CPostItem cpostItem22 = cpostItem21; this.m_DefGSTCat = cpostItem21; postItems11.Add(cpostItem22); List <CPostItem> postItems12 = this.PostItems; CPostItem cpostItem23 = new CPostItem(CPostItem.DataType.LONG, "VendorDiscDays1"); CPostItem cpostItem24 = cpostItem23; this.m_DiscDays1 = cpostItem23; postItems12.Add(cpostItem24); List <CPostItem> postItems13 = this.PostItems; CPostItem cpostItem25 = new CPostItem(CPostItem.DataType.DOUBLE, "VendorDiscPct1"); CPostItem cpostItem26 = cpostItem25; this.m_DiscPct1 = cpostItem25; postItems13.Add(cpostItem26); List <CPostItem> postItems14 = this.PostItems; CPostItem cpostItem27 = new CPostItem(CPostItem.DataType.LONG, "VendorDiscDays2"); CPostItem cpostItem28 = cpostItem27; this.m_DiscDays2 = cpostItem27; postItems14.Add(cpostItem28); List <CPostItem> postItems15 = this.PostItems; CPostItem cpostItem29 = new CPostItem(CPostItem.DataType.DOUBLE, "VendorDiscPct2"); CPostItem cpostItem30 = cpostItem29; this.m_DiscPct2 = cpostItem29; postItems15.Add(cpostItem30); List <CPostItem> postItems16 = this.PostItems; CPostItem cpostItem31 = new CPostItem(CPostItem.DataType.LONG, "VendorDiscDays3"); CPostItem cpostItem32 = cpostItem31; this.m_DiscDays3 = cpostItem31; postItems16.Add(cpostItem32); List <CPostItem> postItems17 = this.PostItems; CPostItem cpostItem33 = new CPostItem(CPostItem.DataType.DOUBLE, "VendorDiscPct3"); CPostItem cpostItem34 = cpostItem33; this.m_DiscPct3 = cpostItem33; postItems17.Add(cpostItem34); List <CPostItem> postItems18 = this.PostItems; CPostItem cpostItem35 = new CPostItem(CPostItem.DataType.STRING, "VendorNotes"); CPostItem cpostItem36 = cpostItem35; this.m_Notes = cpostItem35; postItems18.Add(cpostItem36); List <CPostItem> postItems19 = this.PostItems; CPostItem cpostItem37 = new CPostItem(CPostItem.DataType.STRING, "VendorTerms"); CPostItem cpostItem38 = cpostItem37; this.m_Terms = cpostItem37; postItems19.Add(cpostItem38); List <CPostItem> postItems20 = this.PostItems; CPostItem cpostItem39 = new CPostItem(CPostItem.DataType.LONG, "VendorTransactionChange"); CPostItem cpostItem40 = cpostItem39; this.m_TransactionChgID = cpostItem39; postItems20.Add(cpostItem40); List <CPostItem> postItems21 = this.PostItems; CPostItem cpostItem41 = new CPostItem(CPostItem.DataType.LONG, "VendorTransactionNew"); CPostItem cpostItem42 = cpostItem41; this.m_TransactionNewID = cpostItem41; postItems21.Add(cpostItem42); List <CPostItem> postItems22 = this.PostItems; CPostItem cpostItem43 = new CPostItem(CPostItem.DataType.STRING, "VendorQuickBooksID"); CPostItem cpostItem44 = cpostItem43; this.m_QuickBooksID = cpostItem43; postItems22.Add(cpostItem44); List <CPostItem> postItems23 = this.PostItems; CPostItem cpostItem45 = new CPostItem(CPostItem.DataType.LONG, "VendorPersonContactID"); CPostItem cpostItem46 = cpostItem45; this.m_ContactID = cpostItem45; postItems23.Add(cpostItem46); List <CPostItem> postItems24 = this.PostItems; CPostItem cpostItem47 = new CPostItem(CPostItem.DataType.STRING, "VendorExternalID1"); CPostItem cpostItem48 = cpostItem47; this.m_ExternalID_1 = cpostItem47; postItems24.Add(cpostItem48); List <CPostItem> postItems25 = this.PostItems; CPostItem cpostItem49 = new CPostItem(CPostItem.DataType.STRING, "VendorExternalID2"); CPostItem cpostItem50 = cpostItem49; this.m_ExternalID_2 = cpostItem49; postItems25.Add(cpostItem50); }
protected override void Initialize() { this.m_sTableName = "Client"; PLClient.m_nClientNN = 0; this.Name = new PLName(PLName.eNameType.CLIENT); this.Address = new PLAddress(PLAddress.eAddType.CLIENT); this.Phone = new PLPhone(PLPhone.ePhoneType.CLIENT); List <CPostItem> postItems = this.PostItems; CPostItem cPostItem = new CPostItem(CPostItem.DataType.STRING, "ClientNum"); CPostItem cPostItem1 = cPostItem; this.m_NickName = cPostItem; postItems.Add(cPostItem1); List <CPostItem> cPostItems = this.PostItems; CPostItem cPostItem2 = new CPostItem(CPostItem.DataType.LONG, "ClientID"); cPostItem1 = cPostItem2; this.m_ID = cPostItem2; cPostItems.Add(cPostItem1); List <CPostItem> postItems1 = this.PostItems; CPostItem cPostItem3 = new CPostItem(CPostItem.DataType.LONG, "ClientStatus"); cPostItem1 = cPostItem3; this.m_Status = cPostItem3; postItems1.Add(cPostItem1); List <CPostItem> cPostItems1 = this.PostItems; CPostItem cPostItem4 = new CPostItem(CPostItem.DataType.LONG, "ClientIDMajor"); cPostItem1 = cPostItem4; this.m_MajorClientID = cPostItem4; cPostItems1.Add(cPostItem1); List <CPostItem> postItems2 = this.PostItems; CPostItem cPostItem5 = new CPostItem(CPostItem.DataType.BOOL, "ClientIsMajorClient"); cPostItem1 = cPostItem5; this.m_IsMajorClient = cPostItem5; postItems2.Add(cPostItem1); List <CPostItem> cPostItems2 = this.PostItems; CPostItem cPostItem6 = new CPostItem(CPostItem.DataType.LONG, "LawyerIDClient"); cPostItem1 = cPostItem6; this.m_IntroLawyerID = cPostItem6; cPostItems2.Add(cPostItem1); List <CPostItem> postItems3 = this.PostItems; CPostItem cPostItem7 = new CPostItem(CPostItem.DataType.LONG, "ClientPersonContactID"); cPostItem1 = cPostItem7; this.m_ContactID = cPostItem7; postItems3.Add(cPostItem1); List <CPostItem> cPostItems3 = this.PostItems; CPostItem cPostItem8 = new CPostItem(CPostItem.DataType.LONG, "ClientTransactionChange"); cPostItem1 = cPostItem8; this.m_TransactionChgID = cPostItem8; cPostItems3.Add(cPostItem1); List <CPostItem> postItems4 = this.PostItems; CPostItem cPostItem9 = new CPostItem(CPostItem.DataType.LONG, "ClientTransactionNew"); cPostItem1 = cPostItem9; this.m_TransactionNewID = cPostItem9; postItems4.Add(cPostItem1); List <CPostItem> cPostItems4 = this.PostItems; CPostItem cPostItem10 = new CPostItem(CPostItem.DataType.STRING, "ClientQuickBooksID"); cPostItem1 = cPostItem10; this.m_QuickBooksID = cPostItem10; cPostItems4.Add(cPostItem1); List <CPostItem> postItems5 = this.PostItems; CPostItem cPostItem11 = new CPostItem(CPostItem.DataType.RepeatLONG, "ClntCustomTabID"); cPostItem1 = cPostItem11; this.m_CustomTabID = cPostItem11; postItems5.Add(cPostItem1); List <CPostItem> cPostItems5 = this.PostItems; CPostItem cPostItem12 = new CPostItem(CPostItem.DataType.RepeatLONG, "ClntCustomTabEntityID"); cPostItem1 = cPostItem12; this.m_CustomTabEntityID = cPostItem12; cPostItems5.Add(cPostItem1); List <CPostItem> postItems6 = this.PostItems; CPostItem cPostItem13 = new CPostItem(CPostItem.DataType.RepeatLONG, "ClntCustomTabEntityType"); cPostItem1 = cPostItem13; this.m_CustomTabType = cPostItem13; postItems6.Add(cPostItem1); List <CPostItem> cPostItems6 = this.PostItems; CPostItem cPostItem14 = new CPostItem(CPostItem.DataType.RepeatLONG, "ClntCustomTabLinkID"); cPostItem1 = cPostItem14; this.m_CustomTabLinkID = cPostItem14; cPostItems6.Add(cPostItem1); List <CPostItem> postItems7 = this.PostItems; CPostItem cPostItem15 = new CPostItem(CPostItem.DataType.RepeatSTRING, "ClntCustomTabFieldIDs"); cPostItem1 = cPostItem15; this.m_CustomTabFldIDs = cPostItem15; postItems7.Add(cPostItem1); List <CPostItem> cPostItems7 = this.PostItems; CPostItem cPostItem16 = new CPostItem(CPostItem.DataType.RepeatSTRING, "ClntCustomTabFieldValuesRAW"); cPostItem1 = cPostItem16; this.m_CustomTabFldValuesRAW = cPostItem16; cPostItems7.Add(cPostItem1); List <CPostItem> postItems8 = this.PostItems; CPostItem cPostItem17 = new CPostItem(CPostItem.DataType.RepeatSTRING, "ClntCustomTabFieldValuesDISPLAY"); cPostItem1 = cPostItem17; this.m_CustomTabFldValuesDisp = cPostItem17; postItems8.Add(cPostItem1); List <CPostItem> cPostItems8 = this.PostItems; CPostItem cPostItem18 = new CPostItem(CPostItem.DataType.RepeatSTRING, "ClntCustomTabBillingTemplate"); cPostItem1 = cPostItem18; this.m_CustomTabTemplate = cPostItem18; cPostItems8.Add(cPostItem1); List <CPostItem> postItems9 = this.PostItems; CPostItem cPostItem19 = new CPostItem(CPostItem.DataType.RepeatSTRING, "ClntCustomTabHelpType"); cPostItem1 = cPostItem19; this.m_CustomTabHelpType = cPostItem19; postItems9.Add(cPostItem1); List <CPostItem> cPostItems9 = this.PostItems; CPostItem cPostItem20 = new CPostItem(CPostItem.DataType.STRING, "ExternalID_1"); cPostItem1 = cPostItem20; this.m_ExternalID_1 = cPostItem20; cPostItems9.Add(cPostItem1); List <CPostItem> postItems10 = this.PostItems; CPostItem cPostItem21 = new CPostItem(CPostItem.DataType.STRING, "ExternalID_2"); cPostItem1 = cPostItem21; this.m_ExternalID_2 = cPostItem21; postItems10.Add(cPostItem1); this.m_CustomTabIDArr = new ArrayList(); this.m_CustomTabEntityIDArr = new ArrayList(); this.m_CustomTabTypeArr = new ArrayList(); this.m_CustomTabLinkIDArr = new ArrayList(); this.m_CustomTabFieldInfoArr = new ArrayList(); }
protected override void Initialize() { this.m_sTableName = "Contact"; this.Name = new PLName(PLName.eNameType.CONTACT); this.AddressMain = new PLAddress(PLAddress.eAddType.CONT_MainADDR); this.AddressOther = new PLAddress(PLAddress.eAddType.CONT_OthADDR); this.Phone = new PLPhone(PLPhone.ePhoneType.CONTACT); List <CPostItem> postItems1 = this.PostItems; CPostItem cpostItem1 = new CPostItem(CPostItem.DataType.LONG, "ContactID"); CPostItem cpostItem2 = cpostItem1; this.m_ID = cpostItem1; postItems1.Add(cpostItem2); List <CPostItem> postItems2 = this.PostItems; CPostItem cpostItem3 = new CPostItem(CPostItem.DataType.LONG, "ContactStatus"); CPostItem cpostItem4 = cpostItem3; this.m_Status = cpostItem3; postItems2.Add(cpostItem4); List <CPostItem> postItems3 = this.PostItems; CPostItem cpostItem5 = new CPostItem(CPostItem.DataType.STRING, "ContactNickName"); CPostItem cpostItem6 = cpostItem5; this.m_NickName = cpostItem5; postItems3.Add(cpostItem6); List <CPostItem> postItems4 = this.PostItems; CPostItem cpostItem7 = new CPostItem(CPostItem.DataType.STRING, "ContactNotes"); CPostItem cpostItem8 = cpostItem7; this.m_Notes = cpostItem7; postItems4.Add(cpostItem8); List <CPostItem> postItems5 = this.PostItems; CPostItem cpostItem9 = new CPostItem(CPostItem.DataType.LONG, "MainContactTypeID"); CPostItem cpostItem10 = cpostItem9; this.m_MainContTypeID = cpostItem9; postItems5.Add(cpostItem10); List <CPostItem> postItems6 = this.PostItems; CPostItem cpostItem11 = new CPostItem(CPostItem.DataType.LONG, "LawyerID"); CPostItem cpostItem12 = cpostItem11; this.m_LawyerID = cpostItem11; postItems6.Add(cpostItem12); List <CPostItem> postItems7 = this.PostItems; CPostItem cpostItem13 = new CPostItem(CPostItem.DataType.STRING, "ContactQuickBooksID"); CPostItem cpostItem14 = cpostItem13; this.m_QuickBooksID = cpostItem13; postItems7.Add(cpostItem14); List <CPostItem> postItems8 = this.PostItems; CPostItem cpostItem15 = new CPostItem(CPostItem.DataType.LONG, "PartyMatterID"); CPostItem cpostItem16 = cpostItem15; this.m_MatterID = cpostItem15; postItems8.Add(cpostItem16); this.m_ContTypeID = new CPostItem(CPostItem.DataType.RepeatLONG, "ContactTypeTypeID"); this.ContTypes = new List <int>(); this.conMatters = new List <PLContact.ContactMatter>(); this.m_PartyId = new CPostItem(CPostItem.DataType.RepeatLONG, "PartyID"); this.m_AssocMatt = new CPostItem(CPostItem.DataType.RepeatLONG, "PartyMatterID"); this.m_AssocMattRole = new CPostItem(CPostItem.DataType.RepeatLONG, "PartyContactTypeID"); this.m_AssocMattDelete = new CPostItem(CPostItem.DataType.RepeatBOOL, "PartyDelete"); this.m_CustomTabID = new CPostItem(CPostItem.DataType.RepeatLONG, "ContactCustomTabID"); this.m_CustomTabEntityID = new CPostItem(CPostItem.DataType.RepeatLONG, "ContactCustomTabEntityID"); this.m_CustomTabType = new CPostItem(CPostItem.DataType.RepeatLONG, "ContactCustomTabEntityType"); this.m_CustomTabLinkID = new CPostItem(CPostItem.DataType.RepeatLONG, "ContactCustomTabLinkID"); this.m_CustomTabFldIDs = new CPostItem(CPostItem.DataType.RepeatSTRING, "ContactCustomTabFieldIDs"); this.m_CustomTabFldValuesRAW = new CPostItem(CPostItem.DataType.RepeatSTRING, "ContactCustomTabFieldValuesRAW"); this.m_CustomTabFldValuesDisp = new CPostItem(CPostItem.DataType.RepeatSTRING, "ContactCustomTabFieldValuesDISPLAY"); this.m_CustomTabTemplate = new CPostItem(CPostItem.DataType.RepeatSTRING, "ContactCustomTabBillingTemplate"); this.m_CustomTabHelpType = new CPostItem(CPostItem.DataType.RepeatSTRING, "ContactCustomTabHelpType"); this.m_ExternalID_1 = new CPostItem(CPostItem.DataType.STRING, "ExternalID_1"); this.m_ExternalID_2 = new CPostItem(CPostItem.DataType.STRING, "ExternalID_2"); this.m_CustomTabIDArr = new ArrayList(); this.m_CustomTabEntityIDArr = new ArrayList(); this.m_CustomTabTypeArr = new ArrayList(); this.m_CustomTabLinkIDArr = new ArrayList(); this.m_CustomTabFieldInfoArr = new ArrayList(); }