Class JC_JobEstimateDetail_Bus

Properties

LOCAL cMainTable$="JC_JobEstimateDetail"  

Table maintained by business object

LOCAL cExtensionMax=100000000  
Max number for line extention
LOCAL cIsSysDB=isFALSE  
System file identifier
PROPERTY AssemblyObj   * Read Only *
Object handle for JC_JobEstimateDtlAssyPrice_bus
PROPERTY CostMask$   * Read Only *
Mask for Cost retrieved from CI Options
PROPERTY PriceMask$   * Read Only *
Mask for Price retrieved from CI Options
PROPERTY QtyMask$   * Read Only *
Mask for qty retrieved from CI Options

Methods

FUNCTION CommitRow()  

Saves grid rows to detail table

Returns [boolean] True if successful, false if failure
FUNCTION CopyEstimateLines(value$, copyCost$, copyQty$)  

Logic to copy estimate lines

ParameterDescription
value$ [input, string] Estimate number
copyCost$ [input, string] Option to copy detail cost
copyQty$ [input, string] Option to copy line qty
Returns [boolean] True if successful, false if failure
FUNCTION DeleteLine()  

Logic to delete all lines

Returns [boolean] True if successful, false if failure
FUNCTION ResetLine(line$)  

Logic to reset line

ParameterDescription
line$ [input, string] reset line key
Returns [boolean] True if successful, false if failure
FUNCTION RetrieveItemCost(selection$)  

Copies item pricing to assembly detail

ParameterDescription
selection$ [input, string] Item code selection
Returns [boolean] Always returns success
FUNCTION SetHeader(headerKey$)  

Sets header key

ParameterDescription
headerKey$ [input, string] key field
Returns [boolean] Always returns success
FUNCTION ValidateGroupCostCodeRequired()  

Group validation: CostCodeRequired

Returns [boolean] Success if CostCode is non-blank, otherwise failure

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_LineEntryDetail_bus

cActivityLogDelete$, cActivityLogDtlLevel$, HeaderKy$, HeaderHasLines, ReloadGrid, ValidHeader, NumberOfLines

Methods inherited from: CI_CostCode_Val

SetValidCostTypeForSOCC(), ClassValidateCostCode()

Methods inherited from: JC_Constant

CalculateJobTotals(), CalculateUnitPrice()

Methods inherited from: SY_LineEntryDetail_bus

AccumulateBatchTotals(), AddIn(), AddLine(), AddPrimarySrc(), BackOut(), ClearBindings(), ClearLine(), ClearSetFiles(), CommitRow(), DeleteLine(), EditLine(), GetBatchTotalVars(), GetEditKey$(), GetInsertSeq$(), GetSequenceLengths(), InitWorkTable(), InsertLine(), QuickRowLoad(), RemovePrimarySrc(), ResequenceLine(), ResetLine(), ResetRow(), SetBatchTotalVars(), SetHeader(), SetKey(), SwapLines(), ValidateLines(), Write(), ClearSetFileDeleteWorkTable(), ClearSetFileWorkTable(), CommitRowRemove(), CommitRowWrite(), PostDeleteRec(), PostWriteRec(), RenumberSequence(), WriteWorkTable()