F3293ProcessAIR

F3293 Process AIR

Minor Business Rule

Object Name: N3200670

Parent DLL: CMFG

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

This business function controls the processing of Assembly Inclusion Rules.  The rules are interpreted by another business function, F3293 Evaluate 

AIR Edit Condition (B3200460), which is called from this function.



1.2Setup Notes and Prerequisites



1.3Special Logic


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes

EV01Call TypeIYCall = "1", used by Batch N3201090 Call = "2", not use Call = "3", used by N3200560

ATSQConfigurator Seq. NumberI/OY

KITParent Item (short)IY

MCUBranch PlantIYParent Detail Branch Plant

DOCOOrder NumberIY

PMTHPayment MethodIY

PARSParent Work Order NumberIYUsed with R31410 only.

EV01Processing option from R31410IY"1" = Process Q's, not R's "2" = Process R's, not Q's "3" = Process both Q's and R's

EV01Update Q rules flag (UPDTQ)I/OOUsed with R31410 only.

EV01Update R rules flag (UPDTR)I/OOUsed with R31410 only.

EV01Suppress Error MessagesIO

DTAIError Message IDO

MCUOrder Branch/PlantIYSales Order parameter.

KITOrder Parent ItemIYSales Order parameter.

QTYOrder Transaction QtyIYSales Order parameter.

DOCOOrder NumberIYSales Order parameter.

DCTOOrder Document TypeIYSales Order parameter.

KCOOOrder CompanyIYSales Order parameter.

LNIDOrder Line NumberIYSales Order parameter.

AEXPExtended PriceINSales Order parameter.

LNTYOrder Line TypeIYSales Order parameter.

UOMOrder Transaction UOMIYSales Order parameter.

DRQJOrder Request DateIYSales Order parameter.

SOCNQuantity CanceledINSales Order parameter.

ECSTExtended CostINSales Order parameter.

CRCDCurrency Code - domesticIYSales Order parameter.

CRYRCurrency ConversionIYSales Order parameter.

VERSSales Order Entry VersionINSales Order parameter.

AN8Order Address Book No.IYSales Order parameter.

PDDJOrder Ship DateIYSales Order parameter.

MODEOrder ModeIY'1' - ETO process Other - Sales process

LNIDSales Order Line NumberINSales Order parameter.

PPDJDate Promised ShippedINSales Order parameter.

DOCOWork Order NumberI*Required with call from R31410 only.

ATLVLevel NumberI/OY

CTIDMachine IdIYRequired to read Sales Order Master business function.

JOBSJob NumberIYRequired to read Sales Order Master business function.

EV04Use Cache in Edit LineIYRequired to read Sales Order Master business function.

LNIXLast Line No. AssignedIYRequired to read Sales Order Master business function.

LNIX Parent Work File Line No.IYRequired to read Sales Order Master business function.

EV01Web Mode FlagIO

CFGIDConfiguration ID NumberR

CFGSIDUnique Configured String IDIOBatch Mode only.

CFGCIDComponent ID NumberIR

SYSystem CodeIR

EV01Transaction CodeIO1 - Transfer Order 2 - Inner Company 3 - Inner Branch any other character default (processing)


2.2Related Tables 

Table Table Description




2.3Related Business Functions

Source NameFunction Name

B3200460F3293 Evaluate and Process AIR 

X0005Get UDC

N3200570F3209 Get Configurator Constants Row

B4000260F40205 Get Line Type Constants 

B8900088Retrieve Code Type Info

B0000083Mathnumeric to String zero pad

B3200370All Component CACHE

B3200320Get Assembly Inclusion Rule Row





2.4Processing 


Retrieve Configurator Constants for MCU passed from calling program.  Use F3209 Get Configurator Constants, N3200570.
Setup CCSQ (Cost Sales Quotes) in B3200460 data structure.

Determine if order is a quote and set Quote indicator in B3200460 data structure.

If Call Type == 1

   Fetch Single from F3290 using SO KIT and SO MCU

   Call B3200370 to add record to All component Cache

End If

Determine which Rule to process

EndLoop = 0

Rule Type = P

While EndLoop == 0

   Call B3200460 to process specific Rule

    Determine next Rule to process

    Note: Rule are processed in order: C-P-(Q)-'ae-X

    (After X rule is process, EndLoop = 1)

End while

If no records were written to the Parts List Cache (check B3200460 record counter), read F3293 to see if "Q" records exist.  If no "Q" records 

exist, send error code "2733" back to calling program.


Data Structure

D3200670 - F3293 Process AIR Rules

Parameter NameData ItemData TypeReq/OptI/O/Both
cCallTypeEV01charNONENONE

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

mnParentItemKitKITMATH_NUMERICNONENONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number.

szParentBranchPlantMCUcharNONENONE

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.

mnDocumentorderinvoiceeDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

cMethodofpricecalculaPMTHcharNONENONE

A code that determines how the system calculates the price for kit items or configured items. Valid values are: Blank Use for items that are 
neither kit items nor configured items. 1 The system accumulates the base prices of components with the configured price adjustments, and 
then discounts the total. 2 The system accumulates the base price of the parent item with the configured price adjustments, and then discounts 
the total. 3 The system accumulates the configured price adjustments, and then discounts the total. 4 The system accumulates the individually 
discounted price of the components with the configured price adjustments. Note: Configured price adjustments are only included in the 
calculation for a configured item. Also, the system only discounts costs if you are using the Advanced Pricing system.  The following is an example of 
how the system uses the various methods:   Parent Item: 125 Component A: 50 Component B: 100 Configured Cost Adjustment 1: 15 Configured 
Cost Adjustment 2: 10 Advanced Price Discount: 10% Methods: 1: 50 + 100 = 150 + 15 + 10 = 175 - 17.50 = 157.5 2: 125 + 15 + 10 = 150 - 15 = 135 3: 
15 + 10 + 25 - 2.5 = 22.5 4: (50 - 5) + (100 - 10) = 135 + 15 + 10 = 160

szParentwonumberPARScharNONENONE

A number that identifies the parent work order. You can use this number to do the following:     o Enter default values for new work orders, 
such as Type, Priority, Status, and Manager     o Group work orders for project setup and reporting  

cProcOptR31410EV01charNONENONE

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

cR31410UpdateQRulesEV01charNONENONE

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

cR31410UpdateRRulesEV01charNONENONE

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

cSuppressErrorMessagesEV01charNONENONE

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.

szSO_CostcenterMCUcharNONENONE

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.

mnSO_ParentItemKitKITMATH_NUMERICNONENONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number.

mnSO_QuantityQTYMATH_NUMERICNONENONE

The number of units associated with an asset.

mnSO_OrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szSO_OrdertypeDCTOcharNONENONE

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

szSO_CompanyKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnSO_ExtendedPriceAEXPMATH_NUMERICNONENONE

The number of units multiplied by the unit price.

szSO_LinetypeLNTYcharNONENONE

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

szSO_TransactionUOMUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

jdSO_RequestDateDRQJJDEDATENONENONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

mnSO_QtyCanceledSOCNMATH_NUMERICNONENONE

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

mnSO_ExtendedCostECSTMATH_NUMERICNONENONE

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

szSO_CurrCodeFromCRCDcharNONENONE

A code that identifies the currency of a transaction. 

cSO_CurrConversionCRYRcharNONENONE

A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use: Codes are:    N Do not 
use multi-currency accounting. Use if you enter transactions in only one currency for all companies. The multi-currency fields will not appear 
on forms. The system supplies a value of N if you do not enter a value.    Y Activate multi-currency accounting and use multipliers to convert 
currency. The system multiplies the foreign amount by the exchange rate to calculate the domestic amount.    Z Activate multi-currency 
accounting and use divisors to convert currency. The system divides the foreign amount by the exchange rate to calculate the domestic amount.

szSO_SalesOrderEntryVersionVERScharNONENONE

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.

mnSO_AddressnumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

jdSO_ShipDatePDDJJDEDATENONENONE

The promised shipment date for either a sales order or purchase order. The Supply and Demand Programs use this date to calculate 
Available to Promise information. This value can be automatically calculated during sales order entry. This date represents the day that the item 
can be shipped from the warehouse.

cSO_ModeprocessingMODEcharNONENONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

mnSO_LinenumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnWorkOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szComputerIDCTIDcharNONENONE

mnJobnumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

cUseCacheinEditLineEV04charNONENONE

PeopleSoft event point processing flag 04.

mnLastLineNoAssignedLNIXMATH_NUMERICNONENONE

mnParentWorkFileLineNoLNIXMATH_NUMERICNONENONE

jdDatePriceEffectiveDatePEFJJDEDATEOPTNONE

The system uses the Price Effective Date to determine the base price and all advanced price adjustments.  The value loaded in this date 
is stored in the System Constants File (F4009).

cWebModeFlagEV01charOPTNONE

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

szConfiguredStringIDCFGSIDcharOPTNONE

An identifier that represents a unique configuration. It is generated from an encryption algorithm.  Regardless of the number of segments or 
levels in the configured item, the system always converts the information into a 32-character digest. The digest is always a full 32 characters 
in length, consists of numbers and characters, and does not contain any blanks. You cannot determine the initial value from the digest, and it 
has no significant meaning.

mnConfigurationIDNumberCFGIDMATH_NUMERICOPTNONE

An identifier that represents a unique configuration. It is generated by a next number value and is the key to the configuration tables.

mnComponentIDNumberCFGCIDMATH_NUMERICOPTNONE

A number that represents a component in a configuration. This number, which is generated by next numbers, always restarts at 1 and 
increments, based on the number of components in the configuration.

szSystemCodeSYcharOPTNONE

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

cTransactionTypeEV01charOPTNONE

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

cForeignOrDomesticEV01charOPTNONE

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

szItemGroupPRGRcharOPTNONE

A user defined code (system 40/type PI) that identifies an inventory price group for an item. Inventory price groups have unique pricing 
structures that direct the system to incorporate discounts or markups on items on sales and purchase orders. The discounts or markups are 
based on the quantity, dollar amount, or weight of the item ordered. When you assign a price group to an item, the item takes on the same pricing 
structure defined for the inventory price group. You must assign an inventory price group to the supplier or customer, as well as to the item, for 
the system to interactively calculate discounts and markups on sales orders and purchase orders.

szCustomerGroupCPGPcharOPTNONE

A user defined code (40/PC) that identifies a customer group. You can group customers with similar characteristics, such as comparable 
pricing.

cParentInventoryInterfaceIVIcharOPTNONE

A code that identifies the type of interface to the Inventory Management system. Valid values are:    Y The dollar or unit value of any activity 
containing this line type will be reflected in inventory. The system also edits the item that you enter to ensure that it is a valid item. Y is the 
default.    A The system recognizes the number that you enter as a G/L account number. The system uses this code in purchasing only.    B The 
system performs edits when using format 4 in purchase order entry.        The system retrieves price data from the inventory tables, but does not 
update the quantity on the purchase order. This code is valid only when you have set the G/L Interface field to Y (yes). Budget checking is 
fully functional when you use this interface code.    D The item in this line is an inventory item that will not affect availability or quantities.    N The 
item is not an inventory item. To verify whether the item exists in the Item Master file, use Inventory Interface N in conjunction with the flag, Edit 
the Item Master for Non-Stock Items.

mnOrderPromisingVersionMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

mnCacheKeyIndexWOLNIXMATH_NUMERICOPTNONE

mnParentIDNumberCFGPIDMATH_NUMERICOPTNONE

A number that represents the parent component of a component in a configuration.

Related Functions

None

Related Tables

None