48 Wtx::Crm::Company::Definition::Definition()
49 :
Wtx::Dbo::PermissionTableDef(
"crmCompany"),
50 CompanyNameFieldDef ( *this,
"companyName", 30 ),
51 ContactNameFieldDef ( *this,
"contactName", 30 ),
52 MainPhoneFieldDef ( *this,
"mainPhone" ),
53 AccountNoteFieldDef ( *this,
"accountNote" ),
54 ActivityDateFieldDef ( *this,
"activityDate" ),
55 ActiveFromFieldDef ( *this,
"activeFrom" ),
56 ActiveToFieldDef ( *this,
"activeTo" ),
57 CustTypeFieldDef ( *this,
"custType" ),
58 NoteFieldDef ( *this,
"note" ),
59 NotesFieldDef ( *this,
"notes" ),
60 Phone1FieldDef ( *this,
"phone" ),
61 Phone2FieldDef ( *this,
"phone2" ),
62 FaxFieldDef ( *this,
"fax" ),
63 AddrFieldDef ( *this,
"addr" ),
64 Addr2FieldDef ( *this,
"addr2" ),
65 TermsFieldDef ( *this,
"terms" ),
66 CityFieldDef ( *this,
"city" ),
67 StateFieldDef ( *this,
"state" ),
68 ZipFieldDef ( *this,
"zip" ),
69 CountryFieldDef ( *this,
"country" ),
70 PayorFieldDef ( *this,
"payor" ),
71 CarrierFieldDef ( *this,
"carrier" ),
72 ConsigneeFieldDef ( *this,
"consignee" ),
73 CustGroupFieldDef ( *this,
"custGroup" ),
74 LastInvoiceFieldDef ( *this,
"lastInvoice" ),
75 ExpAdjustFieldDef ( *this,
"expAdjust" ),
76 DLongDaysFieldDef ( *this,
"dLongDays" ),
77 DLongBreakFieldDef ( *this,
"dLongBreak" ),
78 DLongStartFieldDef ( *this,
"dLongStart" ),
79 EmailFieldDef ( *this,
"email" ),
80 ContactFieldDef ( *this,
"contact" ),
81 ContactPhoneFieldDef ( *this,
"contactPhone" ),
82 BuyerFieldDef ( *this,
"buyer" ),
83 BuyerPhoneFieldDef ( *this,
"buyerPhone" ),
84 MemoFieldDef ( *this,
"memo" ),
85 ExpAdjFieldDef ( *this,
"expAdj" ),
86 CatchWtFieldDef ( *this,
"catchWt" ),
87 ChargeMinFieldDef ( *this,
"chargeMinDays" ),
88 ChargeDiffDaysFieldDef ( *this,
"chargeDiffDays" ),
89 ChargeLtDaysFieldDef ( *this,
"chargeLtDays" ),
90 ChargeStartFieldDef ( *this,
"chargeStart" ),
91 ChargeMinInvChgInFieldDef ( *this,
"chargeMinInvChgIn" ),
92 ChargeMinInvChgOutFieldDef ( *this,
"chargeMinInvChgOut" )
97 ChargeDiffDaysFieldDef .setLabel(
"Diff Days" );
98 ChargeLtDaysFieldDef .setLabel(
"LT Days" );
99 ChargeStartFieldDef .setLabel(
"Start" );
100 ChargeMinInvChgInFieldDef .setLabel(
"MinInvChgIn" );
101 ChargeMinInvChgOutFieldDef .setLabel(
"MinInvChgOut" );
113 Wtx::Crm::Company::Item::MapClass( session );
Wtx::Dbo::FieldDefLineEdit CfyFieldDef
Item Clarify Field.
static void PostCreateTable(Wt::Dbo::Session &session)
Post Table Create.
Wtx::Dbo::FieldDefLineEdit KeyFieldDef
Item KEY field.