|
CI_ARDivision_val, CI_CustomerNo_val, CI_FiscalYear_val, CI_ItemCode_val, CI_Warehouse_val, IP_Constant, SY_Customization, SY_Maint, SY_MaintSet |
| LOCAL cMainTable$="IP_ProjectedDemand" |
[string] Main table name. |
| LOCAL cIsSysDB=isFALSE |
[boolean] Flag to indicate that the main table is a system table. |
| LOCAL cAllowAliasItems |
| LOCAL cItemTypes$ |
| LOCAL cPerformCustomerStatusChecking |
| PROPERTY ARSetUp * Read Only * |
[boolean] Flag to indicate that the Accounts Receivable module is set up. |
| PROPERTY IM_BaseInventoryPeriodsOn$ * Read Only * |
[string] Inventory setup option 'Base Inventory Periods On'. |
| FUNCTION CheckIRP(planCycle$, planYear$, item$, whse$) | ||||||||||||||
Checks if projected demand for the specified item, warehouse, year (any period) is being used in inventory requirements planning. | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
| FUNCTION CopyProjectedDemands(item$, whse$, arDiv$, cust$, copyFromYr$, copyToYr$) | ||||||||||||||
Copies one year of project demands for the specified item/warehouse/customer. | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
| FUNCTION CreateProjectedDemandRecords(item$, whse$, arDiv$, cust$, yr$, cycle$) | ||||||||||||||
Creates all period records for the specified item/warehouse/customer/year. | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
| FUNCTION Delete(key$) | ||||||||||||||
Deletes a projected demand record. | ||||||||||||||
| ||||||||||||||
| FUNCTION DeleteAllRows() | ||||||||||||||
Deletes all records from memory table when in SET mode. | ||||||||||||||
| ||||||||||||||
| FUNCTION FiscalYearChange(yr$, action$) | ||||||||||||||
Fiscal Year Change. Update projected demand records to work with changes made to a fiscal year. | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
| FUNCTION GetContext$(destTable$) | ||||||||||||||
Gets the contexts available for a table | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
| FUNCTION GetContextSourceTables$(context$) | ||||||||||||||
Gets the source table for a context | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
| FUNCTION GetYearStartEndDates(cycle$, yr$, yearStartDate$, yearEndDate$) | ||||||||||||||
Gets calendar/fiscal year start date and end date. When planning by week, year end date may be different than actual year end date because week 1 starts on specific day of week. | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
| FUNCTION ProjectedDemandsExist(item$, whse$, arDiv$, cust$, yr$, cycle$) | ||||||||||||||
Checks if projected demands exist for the specified item/warehouse/customer. | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
retFAILURE (0) if demands do not exist retWARNING (-1) if demands exist but number of records on file does not match number of periods | ||||||||||||||
| FUNCTION Write() | ||||||||||||||
Validates period number and writes record. | ||||||||||||||
|
|
cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer |
|
cItemTypes$, cAllowAliasItems, cAliasItemTypes$, cItemCodeDescCol$, cItemTypeCol$, cExtDescKeyCol$, ItemTypes$, AllowAliasItems, AliasItemTypes$, ExtendedDescriptionBusiness, ItemCodeDescCol$, AllowPhantom, AllowEngineering, AllowInactive, InvalidPurchase, IMIntegrated |
|
actionBUYTOORDER$, actionCANTRESCHEDULE$, actionINCREASEQTY$, actionMAKE$, actionMAKETORDER$, actionMOVEOUT$, actionORDER$, actionPULLIN$, actionPUSHOUT$, actionQTYINCREASED$, actionQTYREDUCED$, actionREDUCEQTY$, actionUNNEEDED$, actionDescBUYTOORDER$, actionDescCANTRESCHEDULE$, actionDescINCREASEQTY$, actionDescMAKE$, actionDescMAKETORDER$, actionDescMOVEOUT$, actionDescORDER$, actionDescPULLIN$, actionDescPUSHOUT$, actionDescQTYINCREASED$, actionDescQTYREDUCED$, actionDescREDUCEQTY$, actionDescUNNEEDED$, mftCodeSALESORDER$, mftCodeWORKTICKET$, mftCodeINVENTORY$, mftDescSALESORDER$, mftDescWORKTICKET$, mftDescINVENTORY$, planCycleWEEK$, planCycleMONTH$, wtsOPEN$, wtsQUOTE$, wtsRELEASED$, wtsCLOSED$, wtsDELETED$, sourceBILLCOMPONENT$, sourceINVENTORY$, sourceWTMATERIALS$, sourceWTPARENT$, sourcePROJDEMAND$, sourcePO$, sourceSO$ |
|
cDummyIol$ |
|
cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest, SkipNullCheck$, AFSRequiredFields$ |
|
FileChanged |
|
ClassValidateARDivision() |
|
GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo() |
|
ClassValidateFiscalYear() |
|
Write(), PERFORM CheckForAlias(), PERFORM CheckUseIn(), CheckValidBill(), ClassOverrideDescription(), ClassOverrideItemCode(), ClassValidateDescription(), ClassValidateItemCode(), ItemTypeSetDefaults(), PERFORM ItemTypeSetDefaults(), UpdateGridExtendedDescKey(), ValidateGroupNotCurrentItemType() |
|
SetAllowInactiveRestrictedWhse(), ClassValidateWarehouse(), GetClassName$() |
|
GetActionDesc$(), GetSourceDesc$(), LoadDescMemFile() |
|
GetCustomizations(), PostTableRead(), PreNextRecord(), PreTableWrite() |
|
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() |
|
ClearSetFiles(), CommitRow(), QuickRowLoad(), ResetRow(), SeedDetailRow(), SetFilter(), SetMode() |
|