F4021WCalculateQuantityAvailable

F4021W Calculate Quantity Available

Minor Business Rule

Object Name: B3401390

Parent DLL: CMFG

Location: Client/Server

Language: C

Data Structure

D3401390 - F4021W Calculate Quantity Available


Data Item Data Structure DescriptionI/ORequiredNotes

ITM            Short Item Number                  IY

MCU            Branch                        IY

DATE01      Planning Fence Date            IY

MPSP            Time Fence Rule                  IY

USER            User ID                        IY

CTID            Computer ID                        IY

EV01            Suppress Error Message            I       ' ' - Display Errors 

                                                                        '1' - Suppress Error Message

ERRC            Error Code                        O      '0' - Success (Default) 

                                                                        '1' - Errors in processing 

table

DTAI            Error Message ID                  O      ' ' - Success 

                                                                        '3143' - Errors


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnShortItemNumberITMMATH_NUMERICREQINPUT

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szBranchMCUcharREQINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

jdPlanningFenceDateDATE01JDEDATEREQINPUT

Event point for JDE Date.

cTimeFenceRuleMPSPcharREQINPUT

A code (system 34, table TF) that the system uses in conjunction with the Planning Time Fence Days field to determine how forecast 
demand or actual customer demand is used. For example:    S tells the system to plan using customer demand before the time fence and forecast 
after the time fence    F tells the system to plan using forecast before the time fence and forecast plus customer demand after the time fence  If 
you enter 5 in the Planning Time Fence Days field and S in this field, then the system uses only customer demand for the regeneration for the 
first 5  days. After 5 days, the system uses the forecast for the regeneration. Valid codes are:    C Customer demand before, greater of forecast 
or customer demand after    F Forecast before, forecast plus customer demand after    G Greater of forecast or customer demand before, 
forecast after    S Customer demand before, forecast after    1   Zero before, forecast after    3   Zero before, forecast plus customer demand after 

szUserIdUSERcharREQINPUT

The code that identifies a user profile.

szComputerIDCTIDcharREQINPUT

cSuppressErrorMessageEV01charOPTINPUT

An option that specifies the type of processing for an event.

cErrorCodeERRCcharOPTOUTPUT

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageIDDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

szVersionVERScharOPTNONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

cIncludePastDueFlagEV01charOPTINPUT

An option that specifies the type of processing for an event.

cEnableMPMEV01charOPTINPUT

An option that specifies the type of processing for an event.

szJobNumberJOBcharOPTNONE

Job Number

Related Functions

None

Related Tables

None