Class JC_JobChangeOrder_bus

Properties

LOCAL cMainTable$="JC_JobTransactionDetail"  

Table maintained by business object

LOCAL cIsSysDB=isFALSE  
System file identifier
PROPERTY CurrentJobNo$  
Current job number
PROPERTY CurrentTransactionType$  
Transaction type passed in from parent object

Methods

FUNCTION Delete(key$)  

Deletes current record

ParameterDescription
key$ [input, string] key value of record to delete
Returns [numeric] 1 = success, 0 = failure, -1 = warning
FUNCTION ResetRow(key$)  

Recalls data from the physical table for the given key

ParameterDescription
key$ [input, string] the key to the record to reset
Returns [boolean] True = success, False = failure
FUNCTION ResetRow()  

Resets detail records to their original state

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

Logic to execute for setting parent handle

ParameterDescription
parentObj [input, numeric] handle for parent object
Returns [boolean] Always returns success
FUNCTION SetParentVars(jobNo$, tranType$, costCode$, costType$, apDiv$, vendNo$)  

Passes variables from parent object

ParameterDescription
jobNo$ [input, string] job number
tranType$ [input, string] transaction type
costCode$ [input, string] cost code
costType$ [input, string] cost type
apDiv$ [input, string] A/P vendor division number
vendNo$ [input, string] A/P vendor number
Returns [boolean] Always returns success
FUNCTION Write()  

Writes record

Returns [boolean] True = success, False = failure

Properties inherited from: CI_JobNo_val

AllowOpenJobStatus, SkipJobStatusCheck

Properties inherited from: CI_VendorNo_val

HoldPayment, SeparateCheck

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

Properties inherited from: SY_MaintSet

FileChanged

Methods inherited from: CI_APDivision_val

ClassValidateAPDivision()

Methods inherited from: CI_CostCode_val

SetValidCostTypeForSOCC(), ClassValidateCostCode()

Methods inherited from: CI_JobNo_val

CheckJobStatus(), ClassValidateJobNo()

Methods inherited from: CI_VendorNo_val

ClassValidateVendorNo()

Methods inherited from: JC_Constant

CalculateJobTotals(), CalculateUnitPrice()

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()

Methods inherited from: SY_MaintSet

ClearSetFiles(), CommitRow(), QuickRowLoad(), ResetRow(), SeedDetailRow(), SetFilter(), SetMode()