AddSupplyDemandRule

AddSupplyDemandInclusionRule

Minor Business Rule

Object Name: B3400110

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This business function will add a row to the Supply and Demand Inclusion rules table (F34004)  for a 
given Version , Document type, Line type and Status Code. This fuction will return a code '1', if the 

add is sucessful and  '0' if the add is not sucessful.


1.2Setup Notes and Prerequisites

• None.

1.3Special Logic

None.

2.Technical Specifications

Check if the row exists in the Supply and Demand Inclusion Rule table (F34004). If it does not exist, 
Add the row to the table (F34004).


If the add is successful, the function will return '1' in the selection field, else return '1'.


^

Data Structure

D3400110 - Add Supply Demand Inclusion Rule


Data Item Data Structure DescriptionI/ORequiredNotes


 VERS                       Version            IY

 DCT                       Document Type      IY

 LNTY                       Line Type            IY

 TRTY                       Status Code         IY

 SL01                       Selection 001      O      '1' if successful. '0' if not 

successful


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szResourceversionMVERcharNONENONE

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.

szOrdertypeDCTOcharNONENONE

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

szLinetypeLNTYcharNONENONE

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

szTransTypeTRTYcharNONENONE

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

cSuppressErrorMessageEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

cSelectedEV02charNONENONE

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

Related Functions

None

Related Tables

None