1.Functional Description
1.1Purpose
This function will create detail forecast records (F3460)
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
If the Quantity is not zero
Or the Amount is not zero
Or the ProgramId is equal 'EP3461'
If SummarizeForecasts is not equal to 2
Write the Detail Forecast record (F3460)
ShortItemNumberMFITM
SecondItemNumberMFLITM
ThirdItemNumberMFAITM
BranchMFMCU
'FR'MFDCTO
ForecastTypeMFTYPF
CompareDateMFDRQJ
Quantity MFFQT
Amount MFFAM
MFFQTMFUORG
MFFAMMFAEXP
'N'MFBPFC
CustomerNumberMFAN8
Use GetAuditInfo to get the following:
CurrentDateMFUMPJ
CurrentTimeMFTDAY
UserMFUSER
Terminal NumberMFJOBN
Program IDMFPID
Acumulate the quantity and amount buckets into GrandTotalQuantity and
GrandTotalAmount
End
End
If SummarizeForecast is not equal to blanks
Call CreateSummaryForecasts (B3400790)
ShortItemNumberShortItemNumber
BranchBranch
ForecastTypeForecastType
QuantityOriginalQuantity
AmountOriginalAmount
QuantityForecastQuantity
AmountForecastAmount
ZerosSoldTo
CompareDateCompareDate
RetrieveCatCodesRetrieveCatCodes
SummaryCodeSummaryCode
LinkListPtrLinkListPtr
ProgramIDProgramID
Set output LinkListPtr = LinkListPtr from B3400790
End
^
D3400770 - WriteDetailForecastRecords
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szSecondItemNumber | LITM | char | NONE | NONE |
A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to
| ||||
szThirdItemNumber | AITM | char | NONE | NONE |
The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item
| ||||
szBranch | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szForecastType | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
jdRequestedDate | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
mnQuantity | FQT | MATH_NUMERIC | NONE | NONE |
The quantity of units forecasted for production during a planning period. | ||||
mnAmount | FAM | MATH_NUMERIC | NONE | NONE |
The current amount of the forecasted units for a planning period. | ||||
cSummarizeForecasts | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnGrandTotalQuantity | UORG | MATH_NUMERIC | NONE | NONE |
The quantity of units affected by this transaction. | ||||
mnGrandTotalAmount | AEXP | MATH_NUMERIC | NONE | NONE |
The number of units multiplied by the unit price. | ||||
cRetrieveCatCodes | EV02 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szSummaryCode | KVER | char | NONE | NONE |
A user defined code (40/KY) that indicates the type of summary forecast. | ||||
idLinkListPtr | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
szProgramID | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
mnCustomerNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
szDocumentType | DCTO | char | NONE | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
cBypassForcing | BPFC | char | NONE | NONE |
A code that indicates whether to bypass the Forecast Forcing program (R34610). A Y indicates that the quantity and amount of a forecast
| ||||
cWriteZeroRecord | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
B3400790 Create Summary Forecasts | ||||
B9800100 Get Audit Information |
F3460 Forecast File |