Class JC_CommonEntry_ui

Properties

LOCAL cFormGrid$="GD_LINES"  

Grid name for current folder

LOCAL cGridViewPanel$="pLines"  
Panel name for grid
LOCAL cNewRecordFolderID=fldr.pLines.ctl  
Next folder name for when accepting new record
LOCAL cResetFolder$="pHeader"  
Folder name to return to when resetting
LOCAL cResetFolderID=fldr.pHeader.ctl  
Folder control id to return to when resetting
LOCAL cAllowVendOTF  
Boolean to identify whether to allow Vendor on the fly
LOCAL cCompositeSPCtl=isFALSE  
Boolean to identfy when the control is the composite

Methods

FUNCTION InitializeRow(gridCtl)  

Default logic to clear all the columns

ParameterDescription
gridCtl [input, numeric] control value of grid
Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL BT_Accept()  

Logic to execute when the Accept button is pressed

Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL BT_RowDel()  

Button press logic for BT_RowDel, current row in grid will be deleted

Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL BuildCostTypeList$(costCode$)  

Logic to build cost type list based on cost code

ParameterDescription
costCode$ [input, string] cost code value
Returns [string] valid cost type list
FUNCTION LOCAL ChangeCostCode(*)  

Logic to execute when the value in the cost code control is changed

ParameterDescription
* [input, numeric] control value of the grid.
Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL ChangeDB_CostType(*)  

Logic to execute when the value in the cost type control is changed

ParameterDescription
* [input, numeric] control value of the grid.
Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL ChangeML_VendorNo(gridctl)  

Logic to execute when the value in the vendor number control is changed

ParameterDescription
gridctl [input, numeric] control value of the grid.
Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL ConfirmDelete()  

Confirm Delete

Returns [boolean] True=continue with deleting, False=do not delete
FUNCTION LOCAL ConfirmWrite()  

Override of base class ConfirmWrite() to add display of a possible additional prompt (in PreWritePrompt()). The base class ConfirmWrite is processed before the display of the additional prompt.

Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL EnableControls()  

Logic to enable/disable controls on dialog

Returns [boolean] Always returns retSUCCESS
FUNCTION LOCAL GetControlID(var$, rID$, ctlName$)  

Translate variable name to control name

ParameterDescription
var$ [input, string] variable name
rID$ [output, string] folder/screen ID
ctlName$ [output, string] control name
Returns [numeric] control value
FUNCTION LOCAL GetLineRecord(gridCtl, rowNo)  

Logic to execute to get values of a row of the grid

ParameterDescription
gridctl [input, numeric] control value of the grid
rowNo [input, numeric] current row number
Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL HideShowGridGroup(gridCtl, hidefields$, showfields$)  

Hide and/or show group of grid columns

ParameterDescription
gridctl [input, numeric] control value of the grid
hidefields$ [input, string] comma-separated list of fields to hide
showfields$ [input, string] comma-separated list of fields to show
Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL LoadGridDropBoxes(gridCtl, row)  

Logic to execute to load drop box values for lines grid

ParameterDescription
gridCtl [input, numeric] control value of grid
row [input, numeric] row number in grid
Returns [boolean] Always returns retSUCCESS
FUNCTION LOCAL LoadRow(gridCtl, rowNo)  

Logic to execute to get and load values of a row of the grid

ParameterDescription
gridCtl [input, numeric] control value of the grid
rowNo [input, numeric] current row number
Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL OnExitpHeader()  

Function performs logic after the exit of the header panel

Returns [integer] Always returns retSUCCESS
FUNCTION LOCAL OnExitpLines()  

Logic to execute when leaving lines panel

Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL OnExitpLinesW()  

Logic to execute when leaving the wide lines panel

Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL PostLoad()  

Logic to execute after the display of the dialog

Returns [boolean] Always returns retSUCCESS
FUNCTION LOCAL PostLoadPheader()  

Logic to execute after the display of the Header folder

Returns [boolean] Always returns retSUCCESS
FUNCTION LOCAL PostLoadpLines()  

Logic to execute after the display of the Lines folder

Returns [boolean] Always returns retSUCCESS
FUNCTION LOCAL PostLookup(control$)  

This function executes after the ALE Lookup is performed and this is called from SY_Lookup.m4p

ParameterDescription
control$ [input, string] ALE Control Lookup code
Returns [boolean] Always returns retSUCCESS
FUNCTION LOCAL PostReadRec()  

Logic to execute after a record is read

Returns [boolean] Always returns retSUCCESS
FUNCTION LOCAL RowMods(gridCtl, rowNo)  

Logic to execute when loading a row in a grid

ParameterDescription
gridCtl [input, numeric] grid control id
rowNo [input, numeric] current row value
Returns [boolean] Always returns retSUCCESS
FUNCTION LOCAL SetUITotals()  

Logic to execute post loading the screen and field calculation

Returns [boolean] Always returns retSUCCESS
FUNCTION LOCAL SetupGrid(mainGrid, form$, grid$, option, secGrid)  

Logic to execute to setup grid for lines panel

ParameterDescription
mainGrid [input, numeric] control value of main grid
form$ [input, string] grid identifier
grid$ [input, string] name of main grid control
option [input, numeric] maintenance mode of grid
secGrid [input, numeric] control value of additional grid
Returns [boolean] True if successful, false if not successful
FUNCTION LOCAL TranslateColumns()  

Logic to translate values in grid

Returns [boolean] Always returns retSUCCESS

Properties inherited from: CI_VendorUI_val

cAllowVendOTF

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_LineEntry_UI

cGridLoadThreshold, cGridThresholdOption, cGridViewExpanded, cGridViewPanelExpandBitmap$, cGridViewPanelNormalBitmap$, cLeavingProgram, cLineEntry, cHasRightsModifySet, HasModifyRights, MainGridCtl, SecGridCtl, User$, Comp$, G1IOL$, G2IOL$

Methods inherited from: CI_CostCodeUI_val

ClassChangeCostCode(), ClassFormatterCostCode$(), ClassInputLenCostCode(), ClassOnFocusCostCode(), ClassValidateCostCode$(), CostCodeLookup(), PERFORM ResetCostCode(), SetCostCodeDefaults()

Methods inherited from: CI_JobNoUI_val

ClassChangeJobNo(), ClassFormatterJobNo$(), ClassInputLenJobNo(), ClassValidateJobNo$(), PERFORM ResetJob()

Methods inherited from: CI_Security_ui

SecurityEventOverride(), BT_SecurityOverrideCancel(), BT_SecurityOverrideOk(), ChangeML_OverridePassword(), ChangeML_OverrideUser(), OnExit(), PostLoad()

Methods inherited from: CI_VendorUI_val

ApInvoiceHistoryInquiry(), ClassChangeVendor(), ClassFormatterVendor$(), ClassOnFocusVendor(), ClassValidateVendor$(), PERFORM ResetVendorCtl()

Methods inherited from: JC_Constant

CalculateJobTotals(), CalculateUnitPrice()

Methods inherited from: SY_LineEntry_UI

Bt_Cancel(), Bt_Delete(), Bt_First(), Bt_Last(), Bt_Next(), Bt_Prev(), BT_Print(), Bt_RowDel(), Bt_RowDown(), Bt_RowIns(), Bt_RowOK(), Bt_RowReset(), Bt_RowResetAll(), Bt_RowUndo(), Bt_RowUp(), Bt_View(), ClassChangeAddlGrid(), ClassChangeGrid(), ClassOnFocusAddlGrid(), ClassOnFocusGrid(), ConfirmWrite(), GetLineRecord(), GotoSecondaryGrid(), LoadRow(), MoveColumnToPrimaryGrid(), MoveColumnToSecondaryGrid(), MovePrimaryRow(), MoveSecondaryRow(), OnExitFolder(), OnExitFormView(), OnExitGridView(), OnFocusBt_Accept(), PostLoadLines(), PostReadRec(), PROCESS(), RowMods(), SaveRow(), SetupGrid(), ShowRow(), SwapRows(), Browse(), ClassDragAddlGridClassDropAddlGrid$(), ClassDragAddlGridClassDropGrid$(), ClassDragGridClassDropAddlGrid$(), ClassDragGridClassDropGrid$(), ClassPushExpand(), ClearGrid(), DisplayMemoButton(), DoColumnChange(), FindValidRow(), GetRowForColumn(), HideColumn(), InitDefaultRowState(), IsColumnMoveable(), MoveRow(), PostResize(), PreLoadPTotals(), PreLoadPTotalsW(), RemoveInsertRow(), ReturnToField(), SetButtonState(), SetButtonStateFirstRow(), SetButtonStateInsertRow(), SetButtonStateLastRow(), SetButtonStateOtherRow(), SetColumnState(), SetFolderState(), SetFormDisplay(), SetGridSize(), SetLineFormState(), SetStartingRow(), ShowColumn(), ShowSearchResult(), WriteRowInGrid()