GetSupplyDmdInclusionRules

Get Supply / Demand Inclusion Rule

Minor Business Rule

Object Name: N3401460

Parent DLL: CMFG

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose
The purpose of this business function is to retreive a record from the Demand/Supply Inclusion Rules 
file.

Order type, line type, and status code will be used as the key fields.


2Setup Notes and Prerequisites

None

1.3Special Logic

There is no special logic within this function.

2.Technical Specifications
Set retreive status flag = "1"

If index type = "1"

Fetch record from F34004 by order type, line type, status code.

  If retreival a success 

    Set retreive status flag = "0"

  Else

    Set retreive status flag = "1"

  End If

Endif


If index type = "2"

Fetch record from F34004 by order type, status code.

  If retreival a success 

    Set retreive status flag = "0"

  Else

    Set retreive status flag = "1"

  End If

Endif



Data Structure

D3401460 - Get Supply / Demand Inclusion Rule


Data Item Data Structure DescriptionI/ORequiredNotes

MVER            Inclusion Version                  ON

DCTO            Order Type                        I      Key field 1

LNTY            Line Type                        IY      Key field 2

TRTY            Status Code                        IY      Key field 3 (next status)

EV01            Event Flag                        IOY      1=Fail    0=Success

EV01            Event Flag                        IY      1=dcto,lnty,trty    

2=dcto,trty

DTAI            Data Item                        ION      Error msg ID

SUPP            Suppress Warning Msgs            IY      Suppress error msg


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szResourceVersionMVERcharOPTNONE

A user defined code (40/RV) that identifies an inclusion rule that you want the system to use for this branch/plant. The Manufacturing and 
Warehouse Management systems use inclusion rules as follows:     o For Manufacturing:        Allows multiple versions of resource rules for 
running MPS, MRP, or DRP.     o For Warehouse Management:        Allows multiple versions of inclusion rules for running putaway and picking. The 
system processes only those order lines that match the inclusion rule for a specified branch/plant.

szOrderTypeDCTOcharOPTNONE

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 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szLineTypeLNTYcharOPTNONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

szStatusLineTRTYcharOPTNONE

A user defined code (40/AT) that indicates the status of the line.

cF34004RetreiveStatusEV01charOPTNONE

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

cIndexTypeEV01charOPTNONE

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

szErrorMsgIDDTAIcharOPTNONE

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.

cSuppressErrorMsgEV02charOPTNONE

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

Related Functions

None

Related Tables

None