Class PM_WorkTicketClass_bus

Properties

LOCAL cMainTable$="PM_WorkTicketClass"  

[string] Main table for class

LOCAL cIsSysDB=isFALSE  

[boolean] Value denoting whether the main table is a system table

LOCAL cUDIIOL$  

[string] User Defined Information fields IOList

PROPERTY ActiveWTClasses$   * Read Only *

[string] SEP ($8A$) separated list of work ticket class codes currently used in work tickets

PROPERTY ActiveTemplateClasses$   * Read Only *

[string] SEP ($8A$) separated list of work ticket class codes currently used in templates

PROPERTY BM_UseOptionBills$   * Read Only *

[string] B/M Setup option value, Use Options Bills

PROPERTY PM_AutoIssueLabor$   * Read Only *

[string] P/M Setup option value, Auto Issue Labor

PROPERTY PM_AutoIssueMaterials$   * Read Only *

[string] P/M Setup option value, Auto Issue Materials

PROPERTY PM_AutoIssueMaterialShortageRpt$   * Read Only *

[string] P/M Setup option value, Auto Issue Material Shortage Report

PROPERTY PM_AutoReleaseWorkTicket$   * Read Only *

[string] P/M Setup option value, Auto Release Work Ticket

PROPERTY PM_BackflushLabor$   * Read Only *

[string] P/M Setup option value, Backflush Labor

PROPERTY PM_BackflushMaterials$   * Read Only *

[string] P/M Setup option value, Backflush Materials

PROPERTY PM_CostCompletionMethod$   * Read Only *

[string] P/M Setup option value, Cost Completion Method

PROPERTY PM_IntegrateAccountsPayable$   * Read Only *

[string] P/M Setup option value, Integrate with Accounts Payable

PROPERTY PM_IntegrateBillOfMaterials$   * Read Only *

[string] P/M Setup option value, Integrate with Bill of Materials

PROPERTY UDIFieldsExist  

[boolean] True/False are user defined info fields setup for this work ticket class

Methods

FUNCTION CheckCopyFrom(tmpCopyFrom$)  

Check Copy From

ParameterDescription
tmpCopyFrom$ [input,string] work ticket class code to check if it exists
Returns [boolean] True if copy from value exists, False if it does not
FUNCTION CheckForLaborEntries(tmpWorkTicketClassCode$)  

Check for labor entries for work tickets assigned to a work ticket class

ParameterDescription
tmpWorkTicketClassCode$ [input,string] work ticket class code to check
Returns [boolean] True if labor entries exist, False if none
FUNCTION CheckForWorkTicketHistory(tmpWorkTicketClassCode$)  

Check for labor entries for work tickets assigned to a work ticket class

ParameterDescription
tmpWorkTicketClassCode$ [input,string] work ticket class code to check
Returns [boolean] True if work ticket history entries exist that were assigned this class, False if none
FUNCTION CopyWorkTicketClass(tmpCopyFrom$, tmpCopyAccounts$, tmpCopyUserDefined$, tmpCopyOverhead$)  

Copy a work ticket class into current work ticket class

ParameterDescription
tmpCopyFrom$ [input,string] work ticket class code to copy from
tmpCopyAccounts$ [input,string] copy accounts, Y or N
tmpCopyUserDefined$ [input,string] copy user defined information, Y or N
tmpCopyOverhead$ [input,string] copy overhead information, Y or N
Returns [boolean] True if successful, False if the copy fails
FUNCTION Delete(key$)  

Delete Work Ticket Class record

ParameterDescription
key$ [input,string] key value of record to delete
Returns [boolean] True if successful, False if the delete fails
FUNCTION GetContext$(destTable$)  

Get the contexts available for a table

ParameterDescription
destTable$ [input,string] table name
Returns [string] all contexts available for a given table
FUNCTION GetContextSourceTables$(context$)  

Get the source table for a context

ParameterDescription
context$ [input,string] context
Returns [string] source table for a given context
FUNCTION ResetUserDefinedInformation(tmpNo$)  

Reset User Defined Information to original values when editing a record

ParameterDescription
tmpNo$ [input,string] number of UDI information being reset = 1,2,3,4 or 5. 0 = All numbers
Returns [boolean] True if successful, false if reset fails
FUNCTION ValidateGroupUserDefinedInfo()  

Validation Group, User Defined Info returns [boolean] True if User Defined Info for current work ticket class is 'Y', False if it is in 'N'

FUNCTION ValidateGroupWorkTicketClassNotInHistory()  

Validation Group, Work Ticket Class In History returns [boolean] True if current work ticket class is not in work ticket history, False if it is in history

FUNCTION Write()  

Overrides base class function from SY_Maint. This is done to add logic to record changes to records to the activity log

Returns [boolean] True if successful, False if method fails

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_Customization

cDummyIol$

Properties inherited from: SY_Maint

cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest, SkipNullCheck$, AFSRequiredFields$

Methods inherited from: CI_Account_Val

ClassOverrideAccount(), ClassValidateAccount(), ResetAccountIndex()

Methods inherited from: CI_ActivityCode_Val

ClassValidateActivityCode()

Methods inherited from: CI_WorkCenter_Val

ClassValidateWorkCenter()

Methods inherited from: PM_Constant

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

Methods inherited from: SY_Customization

GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite()

Methods inherited from: SY_Maint

ChangedRecordCompare(), ChangedRecordInfo(), Clear(), ClearRecord(), ConfirmDelete(), CopyFrom(), ExportToCSV(), GetColumnInfo(), GetColumnProperties$(), GetDefaults(), GetOrigRecord$(), GetPropertyValue(), GetValidationGroups$(), ResetDocDateWarnState(), SetCopyKeyValue(), SetDocDateWarnDisplayed(), SetDocDateWarnOff(), SetKey(), SetKeyValue(), SetPartialRecord(), SetRecord(), SetToReadOnly(), SetValue(), SetValues(), Write(), ActivityLogCreateFile(), ActivityLogPrepare(), ActivityLogSetMessage$(), ActivityLogWrite(), CallScript(), CheckForAdvancedFieldSettings(), CheckForScripts(), CheckNullRequiredField(), PERFORM ChildValidate(), ClassValidateDate(), ClassValidateTelephoneNo(), ClearSetFiles(), ColInfoInitAll(), ColInfoInitDefaults(), CommitRow(), GetPropertyCommon(), InitColInfo(), InitScriptEngine(), InitSearchForUpdate(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), PreWriteScripts(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()