Class IP_ProjectedDemands_svc

Properties

LOCAL cMainTable$="IP_ProjectedDemand"  

[string] Main table for class

Methods

FUNCTION CalcPeriodEndDate$(planCycle$, fiscalYear$, periodNo)  

Calculates the period end date for projected demand

ParameterDescription
planCycle$ [input, string] W for weekly plan cycle or M for monthly plan cycle
fiscalYear$ [input, string] year to use to calculate projected demand end date
periodNo [input, integer] number of period to calculate projected demand end date
Returns [string] if success returns end date for requested fiscal year and period else returns a null string
FUNCTION CalcPeriodStartDate$(planCycle$, fiscalYear$, periodNo)  

Calculates the period start date for projected demand

ParameterDescription
planCycle$ [input, string] W for weekly plan cycle or M for monthly plan cycle
fiscalYear$ [input, string] year to use to calculate projected demand start date
periodNo [input, integer] number of period to calculate projected demand start date
Returns [string] if success returns start date for requested fiscal year and period else returns a null string
FUNCTION GetWeeksInAPeriod(year$, periodNo$, startWeekNo$, endWeekNo$)  

Gets staring and ending week numbers for a given year and period

ParameterDescription
year$ [input, string] Year
periodNo$ [input, string] Period Number
startWeekNo$ [output, string] Starting Week Number
endWeekNo$ [output, string] Ending Week Number
Returns [boolean] retSUCCESS

Properties inherited from: IP_Constant

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$

Properties inherited from: SY_Service

BOF, CurrentBrowseIndex$, CurrentIndex$, EOF, SecurityAccess

Methods inherited from: IP_Constant

GetActionDesc$(), GetSourceDesc$(), LoadDescMemFile()

Methods inherited from: SY_Service

BindVariable(), CheckMainTable(), Clear(), Find(), FindById(), GetChildHandle(), GetChildKeyReference$(), GetColumns$(), GetDataSources$(), GetDataSourcesAddl$(), GetJson$(), GetKey$(), GetKeyColumns$(), GetKeyPadded$(), GetPartialRecord(), GetRecord(), GetRecordCount(), GetRecordEx(), GetResultSets(), GetTable$(), GetTablePath$(), GetValue(), GetValues(), IsValid(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ReadAdditional(), SetBrowseFilter(), SetBrowseIndex(), SetCacheMode(), SetIndex(), SetKeyValue(), SetParentColumns(), SetParentHandle(), SetUIHandle(), PERFORM ClearEditRcd(), FormatJson$(), GetAddlDataSources(), GetDateColumns$(), InitChildCollection(), MoveFirstLast(), MoveNextPrevious(), OpenMainTable(), ParseKeyDef(), PrepareKeyDef(), ReadRec(), ResolveColumnList$(), SetControls(), SetCurrentKey(), UseKeyColl()