| LOCAL cMainTable$="PM_Template" |
[string] Name of the table being maintained by this business objects |
| LOCAL cIsSysDB=isFALSE |
[boolean] Flag to indicate whether main table is defined in the MAS_SYSTEM directory |
| LOCAL cMaxLevels=99 |
[numeric] to store the maximum BOM levels allowed |
| LOCAL cTemplateTextCol$="TemplateText" |
[string] to store the TemplateHeader.TemplateText variable name used, distinguishing header from sub-header when validating the proper maximum length |
| PROPERTY RecordChanged * Read Only * |
[boolean] Flag to indicate if the record as been changed; override of base class modified for template text |
| PROPERTY TemplateDescription$ * Read Only * |
[string] to store the TemplateHeader.TemplateDesc$ value; TemplateHeader --> StepNo$ = stepZERO$ |
| PROPERTY TemplateTextExtended$ |
[string] to store the ExtendedDescription retrieved from the template record |
| PROPERTY IsHeader * Read Only * |
[boolean] Flag to indicate if the record is the template header record; TemplateHeader --> StepNo$ = stepZERO$; utilized by the UI class to enable/disable, hide/show of controls included in the Nomads lib. |
| PROPERTY oExtDesc * Read Only * |
[objhandle] Object handle to the CI_ExtendedDescription_bus |
| PROPERTY IntegrateWithAP * Read Only * |
[boolean] Flag to indicate when PM is integrated with A/P in PM_Options |
| PROPERTY IntegrateWithBM * Read Only * |
[boolean] Flag to indicate when PM is integrated with B/M in PM_Options |
| PROPERTY IntegrateWithPO * Read Only * |
[boolean] Flag to indicate when PM is integrated with P/O in PM_Options |
| PROPERTY WorkTicketClassRec$ * Read Only * |
[string] to store the values of WorkTicketClass record for the work ticket clas code on the current TemplateHeader record; TemplateHeader --> StepNo$ = stepZERO$ |
| PROPERTY WorkTicketClassIOL$ * Read Only * |
[string] to store the IOList used to generate WorkTicketClassRec$ |
| PROPERTY PostDeleteErrorNum$ * Read Only * |
[string] to store PostDeleteRec() message library number to be used the UI class after executing BT_Delete() |
| PROPERTY PostDeleteErrorMsg$ * Read Only * |
[string] to store PostDeleteRec() resolved message to be displayed by the UI class after executing BT_Delete() |
| PROPERTY Lines |
| FUNCTION ConfirmDelete() | ||||||||||
Checks tables where Template are assigned, if template and revision number exist in any of those tables it be cannot deleted | ||||||||||
| ||||||||||
| FUNCTION CopyFromTemplate(sourceTemplate$, sourceRevision$) | ||||||||||
| FUNCTION CopyFromTemplate(sourceTemplate$, sourceRevision$, copyMemos) | ||||||||||
| FUNCTION CopyFromTemplate(sourceTemplate$, sourceRevision$, copyMemos, sourceStepNo$) | ||||||||||
Method used to copy from another Template | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION CopyFromWorkTicket(sourceWorkTicket$) | ||||||||||
| FUNCTION CopyFromWorkTicket(sourceWorkTicket$, copyMemos) | ||||||||||
| FUNCTION CopyFromWorkTicket(sourceWorkTicket$, copyMemos, sourceStepNo$) | ||||||||||
Method used to copy from a WorkTicket | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION CopyFromWorkTicketHistory(sourceWorkTicket$) | ||||||||||
| FUNCTION CopyFromWorkTicketHistory(sourceWorkTicket$, copyMemos) | ||||||||||
| FUNCTION CopyFromWorkTicketHistory(sourceWorkTicket$, copyMemos, sourceStepNo$) | ||||||||||
Method used to copy from a WorkTicket in history | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION DoStepsExist(tempNo$, revNo$) | ||||||||||
Do steps exist for a template + revision? | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetContext$(destTable$) | ||||||||||
Get the contexts available for a table | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetContextSourceTables$(context$) | ||||||||||
Get the source table for a context | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetItemCost(costItemCode$, itemPurchased$, explode$) | ||||||||||
Retrieves the item cost for an item | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetNextRevisionNo(revNo$) | ||||||||||
Return the next logical Revision No for the current TemplateNo | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetNextStepNo(sNo$) | ||||||||||
Return the next logical Step No for the current TemplateNo | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetUserDefinedInfoCodeDesc$(udiNum) | ||||||||||
Retrieve the UserDefinedInfoCodes code description for a user defined info column | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION GetWorkTicketClassInfo(wtcRec$, wtcIOL$) | ||||||||||
| FUNCTION GetWorkTicketClassInfo(wtcRec$, wtcIOL$, wtcCode$) | ||||||||||
Retrieve WorkTicketClass column values from the TemplateHeader; TemplateHeader --> StepNo$ = stepZERO$ | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION RecalcBudget() | ||||||||||
Method to recalculate material and labor budgets | ||||||||||
| ||||||||||
| FUNCTION Write() | ||||||||||
Override of base class Write() record method | ||||||||||
|
|
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$ |
|
HoldPayment, SeparateCheck |
|
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$ |
|
cDummyIol$ |
|
BatchEnabled, Lines, ScriptPreTotalsDone |
|
ClassValidateActivityCode() |
|
ClassValidateAPDivision() |
|
GetCalendarEndingDate(), GetDefaultExtendedDescriptionKey$(), UPCEANCheckDigit(), UPCEANFetch(), UPCEANUpdate() |
|
ClassValidateMFG_Employee() |
|
FormatLotSerialNo$(), IncrementSerialNo(), NextNumber(), FindPrefix(), GetColumnInfo(), IncrementNumber() |
|
ClassValidateStatusCode() |
|
ClassValidateToolCode() |
|
ParseVendor() |
|
ClassValidateVendorNo() |
|
ClassValidateWorkCenter() |
|
ClassValidateWorkTicketClass() |
|
BuildAlternateIOL$(), BuildMemoryFile(), ConvertCalendarToJulian(), ConvertJulianToCalendar$(), FormatTime$(), HHMMToMinutes(), HHMMToNum(), LoadCustomLabelConstants(), NumToHHMM$(), TimeToHHMM() |
|
GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite() |
|
ActivityLogOverride(), ActivityLogPrepare(), AddLine(), AFMapTotalColumns(), CLEAR(), CommitLines(), DELETE(), Delete(), DeleteLine(), EditLine(), InsertLine(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ResetLine(), ScriptPreTotals(), SetCurrentKey(), SetHeader(), Write(), WriteLine(), ActivityLogCreateFile(), ActivityLogWasLineRenumbered(), ClearLastRecord() |
|