Class PM_Options_svc

Properties

LOCAL cIsSysDB=isFALSE  

[boolean] Flag to indicate whether main table exists in MAS_SYSTEM data folder

LOCAL cMainTable$="PM_Options"  

[string] Name of the main table for this service object

PROPERTY TermKeys$="0"  

List of SYOCTL Record Types for PM Options

Methods

FUNCTION BuildTermString(recordType, record$, iol$)  

Populates the IOLIST for a SYOCTL Record Type

ParameterDescription
recordType [input, numeric] Record Type of SYOCTL record
record$ [output, string] REC of SYOCTL record
iol$ [output, string] IOLIST of SYOCTL record
Returns [boolean] Success if the SY0CTL IOLIST is populated, otherwise failure
FUNCTION GetNextDynMatTransNo(dynMatTransNo$)  

Retrieves the next dynamic materials transaction number and increments it.

ParameterDescription
dynMatTransNo$ [output, string] Next dynamic material transaction number from PM_Options
Returns [boolean] retSUCCESS(1) if able to retrieve number, retFAILURE(0) if options record not available
FUNCTION GetNextTransactionNo(transactionNo$)  

Retrieves the next TransactionNo and increments it.

ParameterDescription
transactionNo$ [output, string] Next transaction number from PM_Options
Returns [boolean] retSUCCESS(1) if able to retrieve number, retFAILURE(0) if options record not available
FUNCTION GetNextWorkTicketNo(ticketNo$)  

Retrieves the next WorkTicketNo and increments it.

ParameterDescription
ticketNo$ [output, string] Next work ticket number from PM_Options
Returns [boolean] retSUCCESS(1) if able to retrieve number, retFAILURE(0) if options record not available
FUNCTION SetNextDynMatTransNo(dynMatTransNo$)  

Sets the next DynoTransactionNo in PM_Options

ParameterDescription
dynMatTransNo$ [input, string] value to set NextDynoTransactionNo to
Returns [boolean] retSUCCESS(1) if able to retrieve number, retFAILURE(0) if options record not available
FUNCTION SetNextTransactionNo(transactionNo$)  

Sets the next TransactionNo in PM_Options

ParameterDescription
transactionNo$ [input, string] value to set TransactionNo to
Returns [boolean] retSUCCESS(1) if able to retrieve number, retFAILURE(0) if options record not available
FUNCTION SetNextWorkTicketNo(ticketNo$)  

Sets the next WorkTicketNo in PM_Options

ParameterDescription
ticketNo$ [input, string] value to set NextWorkTicketNo to
Returns [boolean] retSUCCESS(1) if able to retrieve number, retFAILURE(0) if options record not available

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_Service

BOF, CurrentBrowseIndex$, CurrentIndex$, EOF, SecurityAccess

Methods inherited from: CI_NextNumber

FormatLotSerialNo$(), IncrementSerialNo(), NextNumber(), FindPrefix(), GetColumnInfo(), IncrementNumber()

Methods inherited from: PM_Constant

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

Methods inherited from: SY_Service

BindVariable(), CheckMainTable(), Clear(), Find(), FindById(), GetChildHandle(), GetChildKeyReference$(), GetColumns$(), GetDataSources$(), GetDataSourcesAddl$(), GetJson$(), GetKey$(), GetKeyColumns$(), GetKeyPadded$(), GetPartialRecord(), GetRecord(), GetRecordCount(), GetRecordEx(), GetResultSets(), GetTable$(), GetTablePath$(), GetValue(), GetValues(), IsValid(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ReadAdditional(), SetBrowseFilter(), SetBrowseIndex(), SetCacheMode(), SetIndex(), SetKeyValue(), SetParentColumns(), SetParentHandle(), SetUIHandle(), PERFORM ClearEditRcd(), FormatJson$(), GetAddlDataSources(), GetDateColumns$(), InitChildCollection(), MoveFirstLast(), MoveNextPrevious(), OpenMainTable(), ParseKeyDef(), PrepareKeyDef(), ReadRec(), ResolveColumnList$(), SetControls(), SetCurrentKey(), UseKeyColl()