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: SY_Maint

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

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(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()