Class PM_WorkTicketInquiry_ui

Properties

LOCAL cInqDrillDownKey$=$$  

[string] Key to be used to launch generic drill down.

Methods

FUNCTION LOCAL BT_InqSearch()  

Generic function to handle when the Search button on the inquiry tab is pressed. This will instantiate the particular search dialogue that is pertinent to the current setting of the radio button.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL BT_LotSerial()  

Logic to execute when the lot/serial button is pressed on the Inquiry folder for issues or completons. This will launch a dialog with all the lot or serial distributions made for the selected transaction.

Returns [boolean] True, always returns success
FUNCTION LOCAL BT_OKView()  

Logic performed when the OK button is pressed in lot/serial button.

Returns [boolean] True, always returns success
FUNCTION LOCAL BT_Zoom()  
FUNCTION LOCAL BT_Zoom(rowKey$)  

This function performs any drill down logic when a record is selected in the list box that drills down into the transaction. This is generic logic and uses the value of the radio button and properties set when selecting a row in the list box.

ParameterDescription
rowKey$ {optional} [input, string] Value of the key to the row selected in the list box. If row key is not passed in the cInqDrillDownKey$ is used.
Returns Always returns retSUCCESS(1)
FUNCTION LOCAL ChangeLB_DirectCharge()  

Function performed when the Direct Charge list box changes (ie A row selected). This will set properties for drill down based on row selected.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL ChangeLB_Invoice()  

Function performed when the Invoice/Completion list box changes (ie A row selected). This will set properties for drill down based on row selected.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL ChangeLB_Labor()  

Function performed when the Labor list box changes (ie A row selected). This will set properties for drill down based on row selected.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL ChangeLB_LotSerial()  

Logic executed when Lot/Serial list box is changed in dLOTSERIAL. This is a NULL function that just returns success.

Returns [boolean] Always returns retSUCCESS(1)
FUNCTION LOCAL ChangeLB_Material()  

Function performed when the Material list box changes (ie A row selected). This will set properties for drill down based on row selected.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL ChangeLB_PurchaseOrder()  

Function performed when the Purchase Order list box changes (ie A row selected). This will set properties for drill down based on row selected.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL ChangeLB_Status()  

Function performed when the Status list box changes (ie A row selected). This will set properties for drill down based on row selected.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL ChangeRB_Inquiry()  

Function performed when the user selects one of the radio button values. This will prepare the appropriate list box for display and load the values into this list box.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL EnableLotSerialZoom(transRec$, transIOL$)  

Function to enable Lot/Serial zoom button. Also, sets up variables for use in loading the lot/serial dialogue.

ParameterDescription
transRec$ [input, string] SEP separated record from the PM_TransactionHistory record associated with transaction selected
transIOL$ [input, string] Providex IOList that matches the transRec$.
Returns Always returns retSUCCESS(1)
FUNCTION LOCAL InqBuildStepList$()  

Function retrieves all the step values for the currently selected Work Ticket. This list also includes and is what populates the Step filter drop box on the panel.

Returns [string] SEP ($8A$) separated list of steps for the current work ticket. If work ticket is not found then a blank string is returned.
FUNCTION LOCAL InqGetStepNumber$(stepLineKey$)  

This function will return the Step Number for the given Step Line Key in the PM_WorkTicketStep table.

ParameterDescription
stepLineKey$ [input, string] Step line key to use to search the current work ticket values in PM_WorkTicketStep
Returns [string] If found then the work ticket step number is returned, otherwise will return blank.
FUNCTION LOCAL InqGetUserCode$(uKey$)  

This function will return the User Code for the given User Key in the SY_User table.

ParameterDescription
uKey$ [input, string] User key to use to search the SY_User table
Returns [string] If found then the user code is returned, otherwise will return three question marks (???).
FUNCTION LOCAL LoadLB_DirectCharge()  

Function called to load the values into the direct charge list box. This will also enable and set state of the search button.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL LoadLB_Invoice()  

Function called to load the values into the Invoice/Completions list box. This will also enable and set state of the search button.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL LoadLB_Labor()  

Function called to load the values into the Labor list box. This will also enable and set state of the search button.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL LoadLB_Material()  

Function called to load the values into the Materials list box. This will also enable and set state of the search button.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL LoadLB_PurchaseOrder()  

Function called to load the values into the Purchase Order list box. This will also enable and set state of the search button.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL LoadLB_Status()  

Function called to load the values into the Status list box. This will also enable and set state of the search button.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL LoadLotSerials()  

Loads the Lot/Serial list box on the dLOTSERIAL dialog. This method called from the PostLoad() function.

Returns [boolean] True, always returns success
FUNCTION LOCAL OnExit()  

Function called when a dialogue is closed.

Returns [boolean] True, always returns success
FUNCTION LOCAL OnExitPInquiry()  

Function is performed when exiting the inquiry or inquiry wide panel. This clears list box values.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL OnExitPInquiryW()  

Function is performed when exiting the inquiry or inquiry wide panel. This clears list box values.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusChangeInquiryListBox(listBoxCtl, drillDownFH, drillDownKey$, drillDownExists)  

Generic method called when focus or change events are received from any of the list boxes.

ParameterDescription
listBoxCtl [input, numeric] NOMADs control Id for the list box receiving focus or changed
drillDownFH [input, fileHandle] File handle to the particular file that will be used for drill downs. This is read to ensure that the currently selected row has a valid value, and in the case of a change event, will call the drilldown function.
drillDownKey$ [input, string] Field name that contains the value to pass into the drill down when launched.
drillDownExists [input, boolean] Flag to indicate whether a drill down exists for the specified list box.
Returns Always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusLB_DirectCharge()  

Function performed when focus is received for the direct charge list box. This will call the OnFocusChangeInquiryListBox() method.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusLB_Invoice()  

Function performed when focus is received for the invoice/completions list box. This method will read the currently selected row and find the matching row in the AR_InvoiceHistory data file.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusLB_Labor()  

Function performed when focus is received for the labor list box. This will call the OnFocusChangeInquiryListBox() method.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusLB_Material()  

Function performed when focus is received for the materials list box. This will call the OnFocusChangeInquiryListBox() method.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusLB_PurchaseOrder()  

Function performed when focus is received for the purchase order list box. This will call the OnFocusChangeInquiryListBox() method.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL OnFocusLB_Status()  

Function performed when focus is received for the status list box. This will call the OnFocusChangeInquiryListBox() method.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL PostLoad()  

Logic to be performed on the focus of the Lot/Serial dialogue, this calls the logic to load the lot/serial list box.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL PostLoadpInquiry()  

Function performed when the Inquiry or InquiryW tab is clicked. This will load the appropriate list box and set the state of the radio buttons according to the current setup for the company.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL PostLoadpInquiryW()  

Function performed when the Inquiry or InquiryW tab is clicked. This will load the appropriate list box and set the state of the radio buttons according to the current setup for the company.

Returns Always returns retSUCCESS(1)
FUNCTION LOCAL SetExportExcelStatus()  

Set Export Excel Status. This will enable the Export to Excel button if Excel is installed, the current user has rights and there are contents in the list box to export.

Returns If button is enabled returns retSUCCESS(1), else if button is not enabled returns retFAILURE(0)
FUNCTION LOCAL SetLocalProperties()  

Function sets the following properties: cInqMaskAmt$, cInqMaskCost$, cInqMaskHrs$, cInqMaskQty$, cInqAPDivisions$, cInqPRDepartments$. These properties will be retrieved either from the business class (if it exists) or independently. These are used in the display of data within the listboxes on the inquiry panels.

Returns Always returns retSUCCESS(1)

Properties inherited from: CI_Constant

itmREGULAR$, itmSPECIAL$, itmCHARGE$, itmCOMMENT$, itmMISC$, valSTANDARD$, valAVERAGE$, valFIFO$, valLIFO$, valLOT$, valSERIAL$, typFINISHEDGOODS$, typRAWMATERIALS$, typDISCONTINUED$, typKIT$, proMAKE$, proBUY$, proSUBCONTRACT$, proMAKETOORDER$, proBUYTOORDER$, tierFIFO$, tierLIFO$, tierLOT$, tierSERIAL$, upceanTYPENONE$, upceanTYPEOTHER$

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_Constant

retFAILURE, retSUCCESS, retNEW, retWARNING, retCANCEL, retYES, retNO, msgYES$, msgNO$, msgCANCEL$, msgOK$, msgRETRY$, msgABORT$, msgIGNORE$, msgNOTONFILE$, msgTIMEOUT$, msgDISABLE, msgACTIVE, msgLinkHELP$, msgLinkMSG$, isFALSE, isTRUE, isYES$, isNO$, isBUSY$, edtNONE, edtEXISTS, edtNEW, ctlDISABLE, ctlENABLE, ctlSHOW, ctlHIDE, ctlLOCK, ctlUNLOCK, ctlLOCKORDISABLE, ctlUNLOCKORENABLE, popHIDE, popDISABLE, popSHOW, popSHOWCHECKED, grdMODEVIEW, grdMODEMAINT, grdMODEADD, filCREATE, filLOCK, filCREATELOCK, filGLOBAL, filCREATEGLOBAL, filLOCKGLOBAL, filCREATELOCKGLOBAL, filCHANNEL, filRAW, filPURGE, filLOAD, filINPUT, filNOOBJECT, filPVX, filREFRESH, filPVX4$, filPVX5$, pthCOMPANY$, pthOTHERCOMPANY$, pthPRCOMPANY$, pthOTHERPRCOMPANY$, pthSYSTEM$, pthUSER$, pthSOA$, pthHOME$, pthROOT$, pthDICTIONARY$, pthTEXTOUT$, pthLOCK$, pthLOCKSYS$, pthPREFIX$, pthARCHIVE$, pthLOGFILES$, folderPROGRAMFILES, folderPROGRAMFILESX86, folderCOMMONAPPLICATIONDATA, folderCOMMONPROGRAMFILES, folderCOMMONPROGRAMFILESX86, errOBJECT, errSYSTEMLOCK, errCONTINUE, errEMBEDDEDIO, errSYSLOCK, extSQLCREATETABLE$, extSQLALLOWNULLDATES$, envSPP$, envDEFAULT$, dbALL$, dbNONE$, dateTOSTRINGFORMAT$, dateLONGMASK$, dateSHORTFMT, dateLONGFMT, dateYEARFIRST, dateMONTHFIRST, dateDAYFIRST, timeMINUTESMASK$, timeMINUTES24MASK$, timeSECONDSMASK$, timeSECONDS24MASK$, idxPRIMARY$, idxBATCH$, idxDISPLAY$, dirFIRST, dirLAST, dirNEXT, dirPREVIOUS, typALPHANUM, typZEROFILL, typCHARNUM, typMASTERNUM, typALPHANUMNF, typMASTERNUMC, typMASTERNUMI, typALPHA$, typNUMBERS$, typALPHANUM$, typALPHANUMNF$, typCHARNUM$, typMASTERNUM$, typMASTERNUMCLEN, modTASKOTFDISALLOW$, logALLACTIVITY$, logACTIVITY$, logERROR$, logACTNEWCUSTOMER$, logACTDATASYNC$, logACTDATAIMPORT$, logACTOPTIONCHANGED$, logACTPROGRAMLAUNCH$, logDFDM$, logSECURITY$, logTASKSCHEDULER$, logWEBERROR$, logVISUALINTEGRATOR$, logEntryIDLength, chkOFF$, chkON$, chkGRAYED$, closeTaskLAUNCHERQUIT, closeTaskSHUTDOWNALL, closeTaskMASTERCONSOLE, closeTaskAUTOLOGOFF, closeTaskDESCRIPTIONS$, secVIEWONLY, secCREATEONLY, secMODIFYONLY, secCREATEMODIFY, secDELETEONLY, secCREATEDELETE, secMODIFYDELETE, secFULLACCESS, secDEFAULTUSER$, secDEFAULTROLE$, secDEFAULTCOMPANY$, regHKEY_CLASSES_ROOT, regHKEY_CURRENT_USER, regHKEY_LOCAL_MACHINE, regHKEY_USERS, regHKEY_CURRENT_CONFIG, regODBC_PATH$, regMAS_PATH$, E3_MYHANDLE, E3_TASK, E3_QUIT, E3_COCHANGE, E3_DATECHANGE, E3_USERCHANGE, E3_SRVRPATH, E3_HELPFILE, E3_TECHSUPPORT, E3_QUERYTOQUIT, E3_SUPERVISOR, E3_CUSTOMIZE, E3_SWITCHMODULE, E3_DISABLEWIN, E3_CURSOR, E3_USERID, E3_PRIVATETASK, E3_CHAT, E3_BROADCAST, E3_RELOAD, E3_PASSTHROUGH, E3_EXECUTE, E3_EXPCOCHANGE, E3_EXPTASK, E3_EXPLAUNCH, E3_SILENT, E3_DIRECT, E3_NODELIST, E3_OCXITEM, E3_MODULEID, E3_CUSTFAV, E3_HOMEPAGE, E3_MINIMIZE, E3_UNDOCKED, E3_DOCKED, E3_PUBLICTASK, E3_LAUNCHURL, E3_BTNCHANGE, E3_STDBTNRELOAD, E3_MYBUSINESS, E3_REGLOADED, E3_LOADED, E3_V4TASK, E3_PUBMODIFY, E3_TASKRELOAD, E3_SETAUTOHIDE, E3_COCHANGE2, E3_TASK_NC, E3_V4TASK_NC, E3_TASK_ALTC, E3_V4TASK_ALTC, E3_PASSWORD, E3_LAUNCHVIEW, E3_LAUNCHBIETASK, E3_CLEANUPBIE, E3_STARTVIEW, E3_BIE_ADMIN, E3_HELPPATH, E3_CUSTOMERID, E3_MASVERSION, E3_LAUNCHEMBEDDED, E3_LAUNCHERMENU, E3_APP_POINTSIZE, E3_LAUNCHERVERSION, E3_DISABLE, E3_ENABLE, E3_SHOW, E3_HIDE, E3_REFRESH, E3_LIBMASTER, WM_COPY, usrDspLOGON$, usrDspNAME$, usrDspCODE$, usrDspEMAIL$, wtsINITIALPROGRAM, wtsAPPLICATIONNAME, wtsWORKINGDIRECTORY, wtsOEMID, wtsSESSIONID, wtsUSERNAME, wtsWINSTATIONNAME, wtsDOMAINNAME, wtsCONNECTSTATE, wtsCLIENTBUILDNUMBER, wtsCLIENTNAME, wtsCLIENTDIRECTORY, wtsCLIENTPRODUCTID, wtsCLIENTHARDWAREID, wtsCLIENTADDRESS, wtsCLIENTDISPLAY, wtsCLIENTPROTOCOLTYPE, thmNORMAL, thmMETAL, thmOLIVE, rptREPORTTYPESTD, rptREPORTTYPELABEL, rptREPORTTYPEMULTCOL, rptISTRUE, rptISFALSE, rptISDEFAULT, rptPORTRAIT, rptLANDSCAPE, rptASCENDING, rptDESCENDING, rptRIGHTALIGN, rptLEFTALIGN, rptHORCENTERALIGN, rptLSSINGLELINE, rptSTSUM, rptSTAVERAGE, rptSTCOUNT, rptDFLTHSPACING, rptDFLTVSPACING, rptDFLTFONTSIZE, rptDFLTLEFT, rptDFLTTOP, rptTWIPSPERCHARW, rptTWIPSPERCHARH, rptSVTREPORTTITLE, rptEDTDISKFILE, rptGCANYVALUE, rptGCDAILY, rptCRDATEFIELD, rptCRDATETIMEFIELD, crEFTCrystalReport, crEFTRichText, crEFTWordForWindows, crEFTExcel, crEFTPortableDocFormat, crEFTHTML32, crEFTHTML40, crEFTExcelRecord, crEFTText, crEFTCharacterSeparatedValues, crEFTTabSeparatedText, crEFTEditableRTF, crEFTXml, crEFTRPTR, crEFTExcelWorkbook, cContextKeyLen1, cContextKeyLen2, cContextKeyLen3, adCmdText, adCmdStoredProc, adClipString, adExecuteNoRecords, adVarChar, adInteger, adParamInput, adParamOutput, adParamInputOutput, adParamReturnValue, adTextNoRecords, adOpenForwardOnly, adOpenStatic, adLockReadOnly, adUseServer, adUseClient, dbTMP$, dbTEMPDB$, dbSYSDB$, dbPVXDDF, dbPVXDB, dbMYSQL, dbADO, dbSQL, sqlSQLOLEDB$, LastErrorMsg$, LastErrorNum$, RoleTypes$, SageCloudAppDesc$, IolNomads$

Methods inherited from: CI_Constant

GetCalendarEndingDate(), GetDefaultExtendedDescriptionKey$(), UPCEANCheckDigit(), UPCEANFetch(), UPCEANUpdate()

Methods inherited from: CI_TimeUI_val

FormatTimeString(), ClassChangeTime(), ConvertDecimalTime()

Methods inherited from: PM_Constant

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

Methods inherited from: SY_Constant

GetNOMADSIolist$(), GetRoleTypes$(), MaskString(), RawString(), ClassValidateEMailAddress(), dateTODAY$(), Element$(), fmtMODCODE$(), fmtMODPREFIX$(), PERFORM FunctionBreak(), GetExceptionMsg$(), GetFileName(), GetJobTitle$(), GetJobTitles(), GetPrinterProps(), GetRecordCount(), isALPHA(), isDATE(), isNUMERIC(), MsgPath$(), ParseString(), ParseTagField(), Position(), QUO$(), ValidateFormatType(), ZeroFill$()