Class IM_DeleteChangeWhseCommon_UI

Properties

LOCAL cLockFile$="IM_Warehouse"  

[string] Name of table to lock.

LOCAL cMaxRetry=10  

[numeric] Maximum number of times to retry locking file.

LOCAL cNomadTimeout  
LOCAL cTimeMask$="00:00 AA"  

[string] Time entry mask.

LOCAL cSecurityAccess  
PROPERTY ReportCaption$   * Read Only *

Methods

FUNCTION ChangeEndingValue(gridCtl)  

Validates ending value.

ParameterDescription
gridCtl [input, numeric] Grid control ID
Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION ChangeML_DelayTime()  

Validates and formats delayed execution time.

Returns [boolean] retSUCCESS(1)
FUNCTION ChangeNewValue(gridCtl)  

Validates new value.

ParameterDescription
gridCtl [input, numeric] Grid control ID
Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION ChangeStartingValue(gridCtl)  

Validates starting value.

ParameterDescription
gridCtl [input, numeric] Grid control ID
Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION OnFocusEndingValue(gridCtl)  

Saves original ending value before change.

ParameterDescription
gridCtl [input, numeric] Grid control ID
Returns [boolean] retSUCCESS(1)
FUNCTION OnFocusNewValue(gridCtl)  

Saves original new value before change.

ParameterDescription
gridCtl [input, numeric] Grid control ID
Returns [boolean] retSUCCESS(1)
FUNCTION OnFocusStartingValue(gridCtl)  

Saves original starting value before change.

ParameterDescription
gridCtl [input, numeric] Grid control ID
Returns [boolean] retSUCCESS(1)
FUNCTION RowMods(gridCtl, rowNo)  

Method Stub to override the method in SY_Selection.

ParameterDescription
gridCtl [input, numeric] Grid control ID
rowNo [input, numeric] Grid row number
Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL AnySelection()  

Checks that the delete/change work table has records.

Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL BackupWarehouses()  

Creates a tables of warehouses used for delete and change warheouses

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL BT_Cancel()  

Cancels warehouse selection changes or cancels delayed execution.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL BT_Clear()  

Clears warehouse selections.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL BT_Delayed()  

Launches Delayed Execution dialog.

Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL BT_Explode()  

Explodes warehouse code with wildcards and warehouse code range.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL BT_OK()  

OK button logic for Delay Execution and Main dialogs.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL PERFORM BT_Print()  

Prints delete/change warehouses listing.

FUNCTION LOCAL BT_Proceed()  

Proceeds to change/delete warehouses.

Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL BT_RowDel()  

Deletes grid row.

Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL BT_RowDown()  

Moves grid row down.

Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL BT_RowIns()  

Inserts grid row.

Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL BT_RowUp()  

Moves grid row up.

Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL BT_Save()  

Saves warehouse selections.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL PERFORM BuildWorkFile()  

Builds work file for delete/change warhouses

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL CheckFileLock()  

Locks IM_Warehouse file.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL PERFORM CheckForInsertRow()  

Removes blank inserted row.

FUNCTION LOCAL PERFORM CheckTimeOut()  

Checks timeout for delayed execution.

FUNCTION LOCAL ClassOnFocusGrid(gridCtl)  

Grid control focus logic.

ParameterDescription
gridCtl [input, numeric] Grid control ID
Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL PERFORM GetTime()  

Formats delayed execution time.

FUNCTION LOCAL GridToMemory()  

Writes grid records to memory file.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL LoadRow(gridCtl, currentRow)  

Loads memory file record into the grid and gets warehouse descriptions.

ParameterDescription
gridCtl [input, numeric] Grid control ID
currentRow [input, numeric] Grid row number
Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL NavigationButtonsSet()  

Enables/disables row buttons.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL OnExit()  

Prompts to save warehouse selection changes and save grid settings when exiting dialog.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL ParseErrorMsg(sourceWhse$, sourceKey$, status$)  

Parses error messages into individual work table records.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL PopulateWorkTable()  

Populates report work table.

Returns [boolean] retSUCCESS(1) if work table has data, retFAILURE(0) if work table is empty.
FUNCTION LOCAL PostLoad()  

Sets display value and set up grid.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL PostPopulateWorkTable()  

Function stub for additional logic to execute after work table is populated.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL PrintLog()  

Prints delete/change warehouses log.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL ResetGrid()  

Loads delete/change warehouse selection records into grid.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL SaveRow(gridCtl, currentRow)  

Checks null values and whether row has changed.

ParameterDescription
gridCtl [input, numeric] Grid control ID
currentRow [input, numeric] Grid row number
Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL ValidateEmpty()  

Validates a grid row does not have null values.

Returns [boolean] retSUCCESS(1) or retFAILURE(0)
FUNCTION LOCAL ValidateGrid()  

Enables/disables buttons based on values in the grid row.

Returns [boolean] retSUCCESS(1)
FUNCTION LOCAL WrapUp()  

Prints log and cleans up after deleting warehouses.

Returns [boolean] 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: SY_CommonUI

CustomizerPreview, ViewOnly, ScriptsDefined, DocDateWarnDisplayed, DocDateWarnForceOff

Properties inherited from: SY_DeleteChange

cAllowDeletes, cAllowChanges

Properties inherited from: SY_GridHandler

cAutoCompCellTypes$, cCentreCellTypes$, cEnterLikeTab$, cGridDefaultRowHeight, cLookupCellTypes$, cSearchDialogueCreated, cGridRowHeightPlus, cWdxGridLoadLimit, cExcelInstalled, cAllUsers$, cAllComps$, cAllWrks$, cOpenedNOMADSGridTable, cLocalGridVariablesSet, GridIOL$

Properties inherited from: SY_OpenObject

cLockInfoNOKEY$

Properties inherited from: SY_ReportCommon

tmpCustomDirectory, kCrystalTrue, kCrystalFalse, kCrystalDefault, kCrystalPortrait, kCrystalLandscape, rptReportTypeStd, rptReportTypeList, rptReportTypeReg, rptReportTypeBusFrm, rptReportTypeFinStmt, rptReportTypeExchng, rptReportTypeCustom, cWinFax, cFaxServer, settingGeneral, settingOptions, settingSelections, cFaxServerDriver$, cWinFaxDriver$, cAvailableForPaperlessOffice$, cPDFAdditionalReport, cPDFPreservePLCommon, AlternateCompanyCode$, ReportType, ReportFile$, ReportFullPath$, ViewerPrint, ViewerPrintAll, PrintStatus, PreviewSelected, coPLCommon, PDFPrint, PDFSilent, HostedPrintNow, HostedPreview, PrintRunDateTime$, SkipProcessErrorDisplay

Methods inherited from: CI_CommonCheckEntries

CheckEntriesDelChgItem(), CheckEntriesDelChgWhse(), CheckEntriesItemValChg(), CheckEntriesStdCostAdj()

Methods inherited from: CI_Constant

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

Methods inherited from: SY_CommonUI

CallScript(), ClassFormatterDate$(), ClassFormatterTime$(), ClassFormatterUdfYesNo$(), ClassOnfocusDate(), ClassPushCreditRptPush(), ClassPushDeliveryOptionsPush(), ClassPushEmailPush(), ClassPushExecute(), ClassPushExplorerView(), ClassPushHyperlinkPush(), ClassPushMapPush(), ClassPushPkgTrackingPush(), ClassPushURLPush(), ClassValidateDate$(), ClassValidateDocumentDate(), ClassValidateUdfYesNo$(), DropBoxLoad(), FormatNumericTime(), GetControlProperty(), GetDateMasked(), GetDateRaw(), GetFolderName$(), GetPanelName$(), GetScreenName$(), GetValue(), HandleScriptUI(), InvokeChange(), InvokeLookup(), ListBoxLoad(), Process(), SetControlProperty(), SetDocDateWarnOff(), AppendTitleBar(), BT_ListBoxExportToExcel(), BT_SageU(), CheckForScripts(), ClassChangeTelephoneNoUI(), ClassPushDirectoryButton(), DrillDown(), GetListboxIol$(), GetScriptUIGroup$(), InitScriptEngine(), NomadsProcess(), ParseTagField(), PrefixVarsInList$(), RemoveVarsFromList(), SetControlState(), SetKeyState(), ShowDocumentDateWarning(), ShowSageUniversity(), Status()

Methods inherited from: SY_DeleteChange

ChangeInit(), ProcessChange(), ProcessChangeAdditional(), ProcessChangeMD(), ProcessChangeNonEverest(), ProcessChangePre(), ProcessDeleteChange(), CleanUpCachedFiles(), ClearDeleteChangeTable(), PERFORM ClearWorkTable(), CreateTempKey(), CreateTemporaryKeys(), DeleteRecords(), DropTempKey(), IndexError(), PERFORM PreWriteDestinationTable(), RemoveTemporaryKeys()

Methods inherited from: SY_GridHandler

AddColumn(), ClassChangeGrid(), ClassInitializeGrid(), ClassOnFocusGrid(), ClearGrid(), DisableGrid(), DropColumn(), DropRow(), EnableGrid(), ExportToExcel(), FindColumnHeader(), FreezeColumn(), GetALEColumnInfo(), GetColumnAttributes(), GetGridIndex(), GetGridIOLIST$(), GotoCell(), GotoColumn(), GotoRow(), HideColumn(), InitializeRow(), InsertRow(), IsColumnHideAble(), IsColumnInGrid(), IsColumnMoveAble(), LoadGrid(), LoadRow(), LockGrid(), OnExitWithGrid(), ParseQuickString(), RefreshGridBindings(), RemoveGridFocus(), SaveGridSettings(), SaveRow(), SetColumnAttributes(), SetColumnAttributesHeadersMain(), SetColumnAttributesHeadersSec(), SetGridPresets(), SetupGrid(), ShowColumn(), ShowColumns(), ShowRow(), AddGroups(), AdjustNomadsInfo(), BT_RowDel(), BT_RowDown(), BT_RowIns(), BT_RowSearch(), BT_RowUp(), ChangeML_GotoLine(), ClearNomadsInfo(), CloneNomadsInfo(), CloseSearchWindow(), DoColumnChange(), DoSave(), PERFORM DoSearch(), FindNextCell(), FormatDate$(), FormatRow(), GetRowLockState(), GetWdwForCtl(), HasRowChanged(), IsColumnHidden(), IsCtlGrid(), OpenSearchWindow(), PERFORM PaintCell(), ParseIOList$(), ParseRowTag$(), PopulateGridBindings(), PutTick(), RemoveGridCustomization(), RemoveNomadsInfo(), ResetSecInitPropLists(), PERFORM ResolveFormatters(), ResolveGroups(), RestoreGridAutoComplete(), RestoreNomadsInfo(), ReturnToField(), SetButtonState(), SetButtonStateFirstRow(), SetButtonStateInsertRow(), SetButtonStateLastRow(), SetButtonStateNoRow(), SetButtonStateOtherRow(), SetColumnGroupState(), SetColumnState(), SetGridAutoComplete(), PERFORM SetGridHeaders(), PERFORM SetGridIOLISTS(), SetGridSecurity(), SetGridSize(), SetLocalGridVariables(), SetPopupStatus(), SetRowLockState(), SetRowState(), SetupNomadsInfo(), ShowSearchResult(), TestAutoCompleteObj()

Methods inherited from: SY_OpenObject

CheckWhoHasLock(), CreateLockInfo(), RemoveLockInfo(), OpenTable(), OpenTempFile()

Methods inherited from: SY_ReportCommon

CheckForFaxPrinter(), ClearWtPopulateFlag(), DeleteSection(), DisableUseOfUI(), ExportToCSV(), GetPrinterProperties(), GetReportFile$(), InitReportEngine(), PrinterSetup(), ProcessReport(), ReportFileChanged(), SetDeferredOptions(), SetExportOptions(), SetPrinterProperties(), SetReportFormula(), SetReportOrientation(), SetReportSelection(), WinfaxPrinterSetupReset(), PERFORM AdjustForHolepunch(), CloseWorkTables(), ConvertCrystalReport(), CreateWorkTable(), CreateWorkTableClone(), GetDeferredFile(), PERFORM GetPLJournalUIProgram(), OpenPVXWorkTable(), PERFORM OpenReportFile(), PopulateSQLTempDB(), PreWorkTableWrite(), PERFORM PrintSettings(), PERFORM ResolveReportFile(), PERFORM SetPrinter(), SetStdFormulas(), PERFORM TranslateNonstandardProgramNames(), WriteDeferredLog()