Class PM_ActivityCode_ui

Known SubClasses

PM_ActivityCodeOTF_UI

Properties

LOCAL cActivityClassList$="General"+SEP+"Employee"+SEP+"Machine"+SEP+"Outside Service"+SEP  

String-Sep separated list of activity classes

LOCAL cActivityClassTranslateList$="GEMS"  

String-Translate list of activity classes

LOCAL cListingClass$="PM_ActivityCodeListing_rpt"  

local variable used by standard BT_Listing button

LOCAL cScheduleMethodList$="Hours per "+lblACTDESC$+SEP+lblPluralACTDESC$+" per Hour"+SEP+"Fixed Time"+SEP  

String-Sep separated list of scheduling calculation methods

LOCAL cScheduleMethodTranslateList$="HAF"  

String-Translate list of scheduling calculation methods

LOCAL cAllowWorkCenterOTF  
LOCAL cWorkCenterInKey  

Methods

FUNCTION LOCAL BT_Accept()  

Function overridden from SY_MaintUI to display warning if standard cost is zero for activity code

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

Method is executed when the Copy button is pressed. Launches a new dialogue allowing user to type in a previously saved activity code and work center that will be copied to newly created activity code and work center

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

Method is executed on the press of the Cancel button in the copy dialogue. This will clear the activity code and work center to copy from.

Returns [boolean] always returns retSUCCESS(1)
FUNCTION LOCAL BT_CopyOK()  

Method is executed on the press of the OK button in the copy dialogue. This will populate the activity code and work center to copy from.

Returns [boolean] returns retSUCCESS(1) if a valid activity code and work center are entered, and will return retFAILURE(0) if activity code and work center are not both valid.
FUNCTION LOCAL BT_List()  

Logic to execute when the List button is pressed

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

Method to execute when activity code is modified in the dMain dialogue. This will validate the activity code.

Returns [boolean] returns retSUCCESS(1) if a valid activity code is entered, and will return retFAILURE(0) if an invalid activity code is entered.
FUNCTION LOCAL ChangeFixedOverheadType()  

Method to execute when fixed overhead type is modified on the pOverhead panel.

Returns [boolean] always returns retSUCCESS(1)
FUNCTION LOCAL ChangeML_CopyActivityCode()  

Method to execute when copy from activity code is modified in the dCopy dialogue. This will validate the activity code to copy from.

Returns [boolean] returns retSUCCESS(1) if a valid activity code is entered, and will return retFAILURE(0) if an invalid activity code is entered.
FUNCTION LOCAL ChangeML_CopyWorkCenter()  

Method to execute when copy from work center is modified in the dCopy dialogue. This will validate the awork center to copy from.

Returns [boolean] returns retSUCCESS(1) if a valid activity center is entered, and will return retFAILURE(0) if an invalid work center is entered.
FUNCTION LOCAL ChangeStandardCostPerHour()  

Method to execute when Standard Cost Per Hour is modified on the pMain panel.

Returns [boolean] retSUCCESS(1) if successful, retFAILURE(0) if not successful
FUNCTION LOCAL ChangeStandardCostPerPiece()  

Method to execute when Standard Cost Per Piece is modified on the pMain panel.

Returns [boolean] retSUCCESS(1) if successful, retFAILURE(0) if not successful
FUNCTION LOCAL ChangeVariableOverheadType()  

Method to execute when variable overhead type is modified on the pOverhead panel.

Returns [boolean] always returns retSUCCESS(1)
FUNCTION LOCAL ChangeWorkCenter()  

Method to execute when work center is modified in the dialog dmain, and will return retFAILURE(0) if an invalid work center is entered.

Returns [boolean] returns retSUCCESS(1) if a valid work center is entered, and will return retFAILURE(0) if an invalid work center is entered.
FUNCTION LOCAL CheckForEnablepMain()  

pMain folder custom hide / show / enable / disable logic

Returns [boolean] always returns retSUCCESS(1)
FUNCTION LOCAL CheckForEnablepOverhead()  

pOverhead folder custom hide / show / enable / disable logic

Returns [boolean] always returns retSUCCESS(1)
FUNCTION LOCAL ClearCopy()  

Logic to clear controls on copy dialog

Returns [boolean] always returns retSUCCESS(1)
FUNCTION LOCAL OnExit()  

Logic to execute when exiting a dialog

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

Logic to execute when the activity code control gets focus

Returns [boolean] always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusML_CopyActivityCode()  

Logic to execute when the copy activity code control gets focus

Returns [boolean] always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusML_CopyWorkCenter()  

Logic to execute when the copy copy work center control gets focus

Returns [boolean] always returns retSUCCESS(1)
FUNCTION LOCAL PostLoad()  

Logic to execute after the display of the dialog

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

Nomads folder post creation method, needed to perform custom post creation logic required for controls contained on pMain

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

Nomads folder post creation method, needed to perform custom post creation logic required for controls contained on pOverhead

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

Logic to execute after a record is read

Returns [boolean] True if successful, false if not successful

Properties inherited from: CI_ItemCodeUI_Val

cCreatedMemoObj, cAllowItemOTF, cItemCodeInLines, cItemValItemCol$, cItemValWhseCol$

Properties inherited from: PM_Constant

actClassEMPLOYEE$, actClassGENERAL$, actClassMACHINE$, actClassOUTSIDESVC$, capTimeNO$, capTimeNOEDIT$, capTimeYES$, earnTypeALLOCTIPS$, earnTypeEXCLUDETIPCALC$, earnTypeEXEMPTTIPS$, earnTypeFRINGE$, earnTypeMISC$, earnTypeOVERTIME$, earnTypeREGULAR$, earnTypeTAXABLETIPS$, earnTypeTIMEOFF1$, earnTypeTIMEOFF2$, earnTypeTIMEOFF3$, cAllEarningsTypes$, earnMethodADDAMOUNT$, earnMethodFIXED$, earnMethodSTANDARD$, cAllEarnMethods$, lttLABOR$, lttCREW$, lttMISC$, lttINOUT$, lttCOST$, dpcSTANDARD$, dpcAVERAGE$, dpcLAST$, overheadTypeAMOUNT$, overheadTypePERCENT$, prtPickNONE$, prtPickBYWHSE$, prtPickBYTICK$, tcmCodeACTUAL$, tcmCodeBUDGET$, tcmCodeSTANDARD$, tcmCodeLOWER$, tcmDescACTUAL$, tcmDescBUDGET$, tcmDescSTANDARD$, tcmDescLOWER$, trnLABOR$, trnMATERIALS$, trnCLOSE$, trnCOMPLETION$, trcSTATUS$, trcLABOR$, trcINVENTORY$, trcDIRECTCHARGE$, trcINVOICE$, trcCLOSE$, trcSCRAP$, udiSTRING$, udiNUMBER$, udiYESNO$, udiCODE$, udiDATE$, mftCodeSALESORDER$, mftCodeSALESORDERLINE$, mftCodeWORKTICKET$, mftCodeINVENTORY$, mftDescSALESORDER$, mftDescSALESORDERLINE$, mftDescWORKTICKET$, mftDescINVENTORY$, wtsOPEN$, wtsQUOTE$, wtsRELEASED$, wtsCLOSED$, wtsDELETED$, lbrIssMethodAUTOISSUE$, lbrIssMethodBACKFLUSH$, lbrIssMethodMANUAL$, matIssMethodAUTOISSUE$, matIssMethodBACKFLUSH$, matIssMethodMANUAL$, prtWORKTICKET$, prtOPERATIONTICKET$, prtCOMPLETEMISSINGCOST$, prtCOMPLETEVARFROMSTD$, prtCLOSEMISSINGCOST$, prtCLOSEVARFROMSTD$, prtCLOSECOSTLEDGER$, prtPICKSHEET$, drtBACKOUT$, drtADDIN$, drsNEW$, drsUPDATED$, drsCOMPLETED$, schFIXED$, schACTSPERHOUR$, schHOURSPERACT$, scaleNOSCALING$, scalePRODUCTIONRUN$, scalePARENTSPERTEMPLATE$, scaleTEMPLATESPERPARENT$, stepZERO$, dfltClosureWorkCenter$

Properties inherited from: SY_MaintUI

InBrowse, ViewOnly

Methods inherited from: CI_AccountUI_Val

ClassChangeAccount(), ClassValidateAccount$(), GetAccountInputLength(), PopupAccountEntry(), PopUpMemoMainAccount()

Methods inherited from: CI_ItemCodeUI_Val

LaunchMemoItem(), ShowItemInquiry(), ShowItemMaint(), ShowItemStatus(), ShowMemoItem(), BT_ItemInquiry(), ClassChangeItemCode(), DisplayPrice(), DisplayStatusMsg(), DRBT_AlternateItem(), DRBT_AlternateWarehouse(), DRBT_ItemInquiry(), DRBT_ItemMaint(), DRBT_ItemStatus(), DRBT_PriceLookup(), DRBT_UseLastCustPrice(), PreLoad(), PERFORM ResetItem(), PERFORM SetExtensionQtyCol(), ShowAlternateItem(), ShowAlternateWarehouse(), ShowItemQtyInquiry()

Methods inherited from: CI_MFGDepartmentUI_Val

ClassChangeMFG_Department()

Methods inherited from: CI_MFGEarningsCodeUI_Val

ClassChangeMFG_EarningsCode()

Methods inherited from: CI_WorkCenterUI_Val

ClassChangeWorkCenter(), PERFORM ResetWorkCenter()

Methods inherited from: PM_Constant

BuildAlternateIOL$(), BuildMemoryFile(), ConvertCalendarToJulian(), ConvertJulianToCalendar$(), FormatTime$(), HHMMToMinutes(), HHMMToNum(), LoadCustomLabelConstants(), NumToHHMM$(), TimeToHHMM()

Methods inherited from: SY_MaintUI

HasRights(), RefreshBindings(), SetDocDateWarnOff(), SetUIRecord(), SetVar(), AddSuppressedMsg(), BindVariables(), BT_Accept(), BT_AcceptClose(), BT_Cancel(), BT_CancelClose(), BT_Delete(), BT_First(), BT_Last(), BT_List(), BT_Listing(), BT_Next(), BT_Office(), BT_OKView(), BT_Prev(), BT_Print(), CheckMemo(), ClassPushMemoBtn(), ConfirmDelete(), ConfirmWrite(), DefaultChange(), DisplayErrorMsg(), DisplayMemoButton(), DisplayWriteError(), ExplodeIOL(), GetBusinessObject(), GetControlID(), GetFirstID(), HandleDocumentDateWarning(), HasMemos(), HidePopupMenu(), InitBusinessObject(), KeyChange(), LaunchMemo(), OnExit(), PostLoad(), QuickConfirmWrite(), PERFORM ResolveMemoParameters(), ReturnToCtlOrGrid(), PERFORM RtrnToCTLOrGrid(), SetBusinessObject(), SetFocusFailedID(), SetFocusFirstID(), SetFormDisplay(), SetFormState(), SetInitialRecord(), SetNumericVal(), SetStringVal()