Class JC_Constant

Properties

LOCAL postingTypeDIRECTCOST$="1"  

Job posting data entry posting type Constants - direct cost

LOCAL postingTypeBILLING$="2"  
Job posting data entry posting type Constants - billing
LOCAL postingTypeCASHRECEIPT$="3"  
Job posting data entry posting type Constants - cash receipts
LOCAL lineTypeCOSTCODE$="1"  
Job billing data entry line type - cost code
LOCAL lineTypeCHARGE$="2"  
Job billing data entry line type - miscellaneous charges
LOCAL lineTypeCOMMENT$="3"  
Job billing data entry line type - comments
LOCAL jobCERTIFIEDPAYROLLFORMS$="None|Federal|AL|AK|AZ|AR|CA|CO|CT|DE|FL|GA|HI|ID|IL|IN|IA|KS|KY|LA|ME|MD|MA|MI|MN|MS|"+"MO|MT|NE|NV|NH|NJ|NM|NY|NC|ND|OH|OK|OR|PA|RI|SC|SD|TN|TX|UT|VT|VA|WA|WV|WI|WY|"  
String-constant for list of Certified Payroll Forms
LOCAL jobTranTypeCHANGEORDER$="0"  
Job transaction history transaction type - contract change orders
LOCAL jobTranTypeBILL$="1"  
Job transaction history transaction type - bill detail
LOCAL jobTranTypeCOST$="2"  
Job transaction history transaction type - cost detail
LOCAL jobDetailTypeCHANGEORDER$="0"  
Job transaction history cost detail type - subcontract change order
LOCAL jobDetailTypeCOST$="1"  
Job transaction history cost detail type - cost
LOCAL jobDetailTypeINVOICE$="I"  
Job transaction history bill detail type - invoice
LOCAL jobDetailTypePAYMENT$="P"  
Job transaction history bill detail type - payment
LOCAL jobAcctMethodCOMPLETED$="C"  
Job accounting method - completed contract
LOCAL jobAcctMethodPERCENTAGE$="P"  
Job accounting method - percentage of completion
LOCAL recognizeWIPMethodACTUALCOST$="A"  
Recognize WIP method - Actual costs through billing cutoff date
LOCAL recognizeWIPMethodESTIMATEPERCENT$="E"  
Recognize WIP method - Percent of revised estimated costs
LOCAL jobStatusBID$="B"  
Job status - bid
LOCAL jobStatusOPEN$="O"  
Job status - open
LOCAL jobStatusCOMPLETE$="C"  
Job status - completed
LOCAL jobStatusLATE$="L"  
Job status - late
LOCAL jobStatusHOLD$="H"  
Job status - hold
LOCAL jobStatusCLOSED$="X"  
Job status - closed
LOCAL cAllJobStatusCodes$="BOCLHX"  
List of all job statuses
LOCAL cAllJobStatusDesc$="Bid, Open, Complete, Late, Hold, Closed"  
List of all job status descriptions
LOCAL costTypeBURDEN$="B"  
Cost type - burden
LOCAL costTypeEQUIPMENT$="E"  
Cost type - equipment
LOCAL costTypeLABOR$="L"  
Cost type - labor
LOCAL costTypeMATERIAL$="M"  
Cost type - material
LOCAL costTypeOVERHEAD$="O"  
Cost type - overhead
LOCAL costTypeSUBCONTRACT$="S"  
Cost type - subcontract
LOCAL cStandardCostTypes$="LMSOBE"  
List of cost types
LOCAL cStandardCostTypesDesc$="Labor, Material, Subcontract, Overhead, Burden, Equipment"  
List of cost type descriptions
LOCAL costCodeStatusALL$="A"  
Cost code status - all
LOCAL costCodeStatusORIGINAL$="O"  
Cost code status - original
LOCAL costCodeStatusREVISED$="R"  
Cost code status - revised
LOCAL costCodeStatusNONE$="N"  
Cost code status - none
LOCAL billMethodNONBILLABLE$="N"  
Job billing method - non-billable
LOCAL billMethodFIXED$="F"  
Job billing method - fixed contract
LOCAL billMethodTIMEMATERIAL$="T"  
Job billing method - time and material
LOCAL billMethodDescNONBILLABLE$="Non-Billable"  
Job billing method description - non-billable
LOCAL billMethodDescFIXED$="Fixed Contract"  
Job billing method description - fixed contract
LOCAL billMethodDescTIMEMATERIAL$="Time and Material"  
Job billing method description - time and material
LOCAL pricingMethodNONBILLABLE$="N"  
Cost Code pricing method - non-billable
LOCAL pricingMethodUNITPRICE$="U"  
Cost Code pricing method - unit price
LOCAL pricingMethodPERCENTCOSTMARKUP$="P"  
Cost Code pricing method - % of cost markup
LOCAL overheadBasisDAILY$="D"  
Apply overhead option - daily
LOCAL overheadBasisMONTHLY$="M"  
Apply overhead option - monthly
LOCAL overheadBasisNONE$="N"  
Apply overhead option - none
LOCAL estItemITEM$="I"  
Job estimate item pricing item type - item
LOCAL estItemASSEMBLY$="A"  
Job estimate item pricing item type - assembly
LOCAL estLineREGULAR$="1"  
Job estimate line type - regular item
LOCAL estLineMISC$="2"  
Job estimate line type - miscellaneous item
LOCAL estLineCOMMENT$="3"  
Job estimate line type - comment line
LOCAL estLineSUBTOTAL$="4"  
Job estimate line type - sub total line
LOCAL estLineTOTAL$="5"  
Job estimate line type - total line
LOCAL estLineValueMISC$="/M"  
Job estimate line item code - miscellaneous item
LOCAL estLineValueCOMMENT$="/C"  
Job estimate line item code - comment item
LOCAL estLineValueSUBTOTAL$="*SUB"  
Job estimate line item code - subtotal item
LOCAL estLineValueTOTAL$="*TOT"  
Job estimate line item code - total item
LOCAL estMarkupPERCENT$="P"  
Job estimate price markup method - percent
LOCAL estMarkupAMOUNT$="A"  
Job estimate price markup method - amount
LOCAL estMarkupOVERRIDE$="O"  
Job estimate price markup method - override

Methods

FUNCTION LOCAL CalculateJobTotals(inRec$, outRec$)  

Logic to calculate job totals

ParameterDescription
inRec$ [input, string] string array passed in
outRec$ [input, string] return variables of calculated value
Returns [boolean] always true
FUNCTION LOCAL CalculateUnitPrice(cost, mkupMethod$, mkupPercent, mkupAmt, price)  

Logic to calculate price for estimate items

ParameterDescription
cost [input, numeric] cost of estimate item
mkupMethod$ [input, string] cost markup method
mkupPercent [input, numeric] markup percentage
mkupAmt [input, numeric] markup amount
price [input, numeric] override price
Returns [numeric] calculated price