Class JC_Job_bus

Properties

LOCAL cMainTable$="JC_Job"  

Table maintained by business object

LOCAL cIsSysDB=isFALSE  

System file identifier

LOCAL cAllowMultipleEMailAddresses  

Flag for allow multiple email addresses

PROPERTY ChangeOrderObj   * Read Only *

Object handler for change order

PROPERTY ARSetup   * Read Only *

Boolean flag for A/R module setup

PROPERTY ARSalesTaxReporting   * Read Only *

Boolean flag for requiring A/R sales tax reporting

PROPERTY CRMSetup   * Read Only *

Boolean flag for CRM setup

PROPERTY CRMProspectCustomerNo$   * Read Only *

CRM prospect customer number

PROPERTY CRMProspectARDivisionNo$   * Read Only *

CRM prospect A/R division number

PROPERTY IntegratePayroll   * Read Only *

Boolean flag to indicate that Job Cost module is integrated with Payroll module

Methods

FUNCTION Clear()  

Clears current record from memory

Returns [boolean] True = success, False = failure
FUNCTION ConfirmDelete()  
FUNCTION ConfirmDelete(fromUtil)  

Determines if delete should be allowed / aborted

ParameterDescription
fromUtil {optional} [input, integer] 1 = from RenumberJob()
Returns [boolean] True = success, False = failure
FUNCTION CopyFrom(key$)  

Copies job record

ParameterDescription
key$ [input, string] job number to copy
Returns [boolean] True = success, False = failure
FUNCTION Delete(key$)  
FUNCTION Delete(key$, fromUtil)  

Deletes current record

ParameterDescription
key$ [input, string] key value of record to delete
fromUtil {optional} [input, numeric] flag for called from utility
Returns [numeric] 1 = success, 0 = failure, -1 = warning
FUNCTION GetContext$(destTable$)  

Get the contexts available for a table

ParameterDescription
destTable$ [input,string] table name
Returns [string] all contexts available for a given table
FUNCTION GetContextSourceTables$(context$)  

Get the source table for a context

ParameterDescription
context$ [input,string] context
Returns [string] source table for a given context
FUNCTION RenumberJob(newJobNo$)  

Renumbers job number

ParameterDescription
newJobNo$ [input, string] new job number
Returns [numeric] 1 = success, 0 = failure, -1 = warning
FUNCTION SetTaxCalc()  

Sets tax calculation flag

Returns [boolean] True = success, False = failure
FUNCTION Write()  

Writes job record

Returns [boolean] True = success, False = failure

Properties inherited from: CI_CustomerNo_val

cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer

Properties inherited from: JC_Constant

postingTypeDIRECTCOST$, postingTypeBILLING$, postingTypeCASHRECEIPT$, lineTypeCOSTCODE$, lineTypeCHARGE$, lineTypeCOMMENT$, jobCERTIFIEDPAYROLLFORMS$, jobTranTypeCHANGEORDER$, jobTranTypeBILL$, jobTranTypeCOST$, jobDetailTypeCHANGEORDER$, jobDetailTypeCOST$, jobDetailTypeINVOICE$, jobDetailTypePAYMENT$, jobAcctMethodCOMPLETED$, jobAcctMethodPERCENTAGE$, recognizeWIPMethodACTUALCOST$, recognizeWIPMethodESTIMATEPERCENT$, jobStatusBID$, jobStatusOPEN$, jobStatusCOMPLETE$, jobStatusLATE$, jobStatusHOLD$, jobStatusCLOSED$, cAllJobStatusCodes$, cAllJobStatusDesc$, costTypeBURDEN$, costTypeEQUIPMENT$, costTypeLABOR$, costTypeMATERIAL$, costTypeOVERHEAD$, costTypeSUBCONTRACT$, cStandardCostTypes$, cStandardCostTypesDesc$, costCodeStatusALL$, costCodeStatusORIGINAL$, costCodeStatusREVISED$, costCodeStatusNONE$, billMethodNONBILLABLE$, billMethodFIXED$, billMethodTIMEMATERIAL$, billMethodDescNONBILLABLE$, billMethodDescFIXED$, billMethodDescTIMEMATERIAL$, pricingMethodNONBILLABLE$, pricingMethodUNITPRICE$, pricingMethodPERCENTCOSTMARKUP$, overheadBasisDAILY$, overheadBasisMONTHLY$, overheadBasisNONE$, estItemITEM$, estItemASSEMBLY$, estLineREGULAR$, estLineMISC$, estLineCOMMENT$, estLineSUBTOTAL$, estLineTOTAL$, estLineValueMISC$, estLineValueCOMMENT$, estLineValueSUBTOTAL$, estLineValueTOTAL$, estMarkupPERCENT$, estMarkupAMOUNT$, estMarkupOVERRIDE$

Properties inherited from: SY_Maint

cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest, SkipNullCheck$, AFSRequiredFields$

Methods inherited from: CI_ARContact_val

ClassValidateARContact()

Methods inherited from: CI_ARDivision_val

ClassValidateARDivision()

Methods inherited from: CI_ContractorNo_val

ClassValidateContractorNo()

Methods inherited from: CI_Country_val

ClassValidateCountry()

Methods inherited from: CI_CustomerFormatter

ParseCustomer()

Methods inherited from: CI_CustomerNo_val

GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo()

Methods inherited from: CI_ZipCode_val

ClassValidateZIPCode()

Methods inherited from: JC_Constant

CalculateJobTotals(), CalculateUnitPrice()

Methods inherited from: JC_JobType_val

ClassValidateJobType()

Methods inherited from: SY_Maint

ChangedRecordCompare(), ChangedRecordInfo(), Clear(), ClearRecord(), ConfirmDelete(), CopyFrom(), ExportToCSV(), GetColumnInfo(), GetColumnProperties$(), GetDefaults(), GetOrigRecord$(), GetPropertyValue(), GetValidationGroups$(), ResetDocDateWarnState(), SetCopyKeyValue(), SetDocDateWarnDisplayed(), SetDocDateWarnOff(), SetKey(), SetKeyValue(), SetPartialRecord(), SetRecord(), SetToReadOnly(), SetValue(), SetValues(), Write(), ActivityLogCreateFile(), ActivityLogPrepare(), ActivityLogSetMessage$(), ActivityLogWrite(), CallScript(), CheckForAdvancedFieldSettings(), CheckForScripts(), CheckNullRequiredField(), PERFORM ChildValidate(), ClassValidateDate(), ClassValidateTelephoneNo(), ClearSetFiles(), ColInfoInitAll(), ColInfoInitDefaults(), CommitRow(), GetPropertyCommon(), InitColInfo(), InitScriptEngine(), InitSearchForUpdate(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), PreWriteScripts(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()