Class PM_ConversionWOHistory

Properties

LOCAL cConversionOK=isFALSE  

[boolean] isTRUE if PM Conversion is successful

LOCAL cDestModuleCode$="P/M"  

[string] Destination Module Code

LOCAL cSourceModuleCode$="W/O"  

[string] Source Module Code

LOCAL cLineKeyIncrement=1  

[integer] Line key increment

LOCAL cLineSeqNoIncrement=100000000  

[integer] Line Sequence number

Methods

FUNCTION AccumulateTotalsforHistoryRecords(companyCode$)  

Accumulate totals for history records

ParameterDescription
companyCode$ [input, string] Company to convert
Returns [Boolean]
ValueDescription
retFAILURE (0) - an error was encountered
retSUCCESS (1) - conversion completed normally
FUNCTION ConvertWOLToPM_WorkTicketHistoryHeader(companyCode$)  

Convert the WOL table to the PM_WorkTicketHistoryHeader table.

ParameterDescription
companyCode$ [input, string] Company to convert
Returns [Boolean]
ValueDescription
retFAILURE (0) - an error was encountered
retSUCCESS (1) - conversion completed normally
FUNCTION ConvertWOMToPM_WorkTicketHistMemo(companyCode$)  

Convert the WOM table to the PM_WorkTicketHistMemo table.

ParameterDescription
companyCode$ [input, string] Company to convert
Returns [Boolean]
ValueDescription
retFAILURE (0) - an error was encountered
retSUCCESS (1) - conversion completed normally
FUNCTION ConvertWONToPM_WorkTicketHistoryDetail(companyCode$, WOL$, newWorkTicketKey$)  

Convert the WON table to the PM_WorkTicketHistoryDetail table.

ParameterDescription
companyCode$ [input, string] Company to convert
WON$ [input, string] WOL record string
newWorkTicketKey$ [input, string] new work ticket key if created, else null
Returns [Boolean]
ValueDescription
retFAILURE (0) - an error was encountered
retSUCCESS (1) - conversion completed normally
FUNCTION ConvertWONToPM_WorkTicketHistoryStep(companyCode$, WOL$, newWorkTicketKey$)  

Convert the WON table to the PM_WorkTicketHistoryStep table.

ParameterDescription
companyCode$ [input, string] Company to convert
WOL$ [input, string] WOL record string
newWorkTicketKey$ [input, string] new work ticket key if created, else null
Returns [Boolean]
ValueDescription
retFAILURE (0) - an error was encountered
retSUCCESS (1) - conversion completed normally
FUNCTION ConvertWOOToPM_TransactionHistory(companyCode$)  

Convert the WOO table to the PM_TransactionHistory table.

ParameterDescription
companyCode$ [input, string] Company to convert
Returns [Boolean]
ValueDescription
retFAILURE (0) - an error was encountered
retSUCCESS (1) - conversion completed normally
FUNCTION WO_CONVERT_HISTORY_TO_PM()  

Run the data conversion for the WO history files.

Returns [boolean]
ValueDescription
retFAILURE (0) - an error was encountered
retSUCCESS (1) - conversion completed normally
FUNCTION WriteWorkTicketHistMemo(memoSourceDevString$, memoChnSrc, memoChnDest, destFile$, encryptCols$, sequenceNoColLength)  

Write WorkTicket Memo record to PM_WorkTicketHistMemo

ParameterDescription
memoSourceDevString$ [input, string] WOP Developer string
memoChnSrc [input, file handle] source file handle (WOP)
memoChnDest [input, file handle] destination file handle (PM_WorkTicketMemo or PM_WorkTicketHistMemo)
destFile$ [input, string] destination file name (PM_WorkTicketMemo or PM_WorkTicketHistMemo)
encryptCols$ [input, string] list of encrypted columns in destination file

#param sequenceNoColLength [input, numeric] column length for SequenceNo$ column

Returns [Boolean]
ValueDescription
retSUCCESS (1) - success

Properties inherited from: CI_CommonPII

AllowSensitiveAccess

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_TableConversionCommon

cHistoryIol$, LogObj

Methods inherited from: CI_CommonPII

GetDecryptedCols(), CheckEncryptedCols(), ClearEncryptedCols(), DecryptRec(), EncryptRec(), GetEncryptedCols(), InitEncryptInfo(), MaskColumnValue$(), ResetEncryptedCols()

Methods inherited from: CI_Constant

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

Methods inherited from: PM_Constant

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

Methods inherited from: SY_Common

FormatAddress(), ParseCityStateZip(), ClassValidateDirectory(), DirectoryCheck(), GetNextSequence(), GetUNCNamedDrive(), IsInstalled(), LocalizeFileIOList(), LocalizeIOList(), PackSequence$(), UnpackSequence(), UseChildKeyColl()

Methods inherited from: SY_TableConversionCommon

ClearHistoryRecordsToUpdate(), CloseTableCopy(), ConvertRecord(), ConvertTable(), CreateTable(), CreateTableNewCopy(), DropTable(), GetHistoryRecordsToUpdate$(), IsSetup(), OpenTable(), OpenTableCopy(), RemoveData(), RemoveDctDefinitions(), RemoveLegacyFileDefinitions(), RemoveRecord(), RemoveRecordTask(), Rename(), RenameColumn(), SetDefaults(), TableConversionEncryptTable(), TableConvertRenameColumns(), TableExists(), UpdateCopyProgress(), PERFORM AddUDFToDictionary(), ClearGridARecords(), CopyTableName$(), CopyUDFsToMirrorTable(), DeleteTask(), DictionaryValidation(), EncryptRec(), GetColumnRecords(), InitCustomizer(), ResolveColumnTag(), ResolveValueToken$(), SetCreatedUpdatedColumns(), UpdateProgressBar(), WriteToLog()