F3112CalculateRemainingQuantity

F3112 Calculate Remaining Quantity

Minor Business Rule

Object Name: N3102230

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose
This NER is used to calculate the remaining quantity for a specific routing step of a manufacturing 
work order.  This NER is necessary when a WO is completed through Super Backflush and there is some 

scrap reported.  This business functions loops through the previous routing steps and adds up all the 

quanitity at operation for each routing step.



2.Technical Specifications


2.4Processing 

This NER loops through F3112 and accumulates the Quantity at Operation (QMTO) of all records that 
have a work order number (DOCO) equal to and an operation sequence (OPSQ) less than or equal to the 

corresponding values passed in.


Data Structure

D3102230 - F3112 Calculate Remaining Quantity

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentOrderInvoiceEDOCOMATH_NUMERICOPTNONE

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.

mnSequenceNoOperationsOPSQMATH_NUMERICOPTNONE

A number used to indicate an order of succession. In routing instructions, a number that sequences the fabrication or assembly steps in the 
manufacture of an item. You can track costs and charge time by operation. In bills of material, a number that designates the routing step in the 
fabrication or assembly process that requires a specified component part. You define the operation sequence after you create the routing 
instructions for the item. The Shop Floor Management system uses this number in the backflush/preflush by operation process. In engineering 
change orders, a number that sequences the assembly steps for the engineering change. For repetitive manufacturing, a number that 
identifies the sequence in which an item is scheduled to be produced. Skip To fields allow you to enter an operation sequence that you want to begin 
the display of information. You can use decimals to add steps between existing steps. For example, use 12.5 to add a step between steps 
12 and 13.

mnUnitsQuantityRemainingSOQE1MATH_NUMERICOPTNONE

This is the remaining quantity for an operation. The remaining quantity is calculated by subtracting the quantity completed from the standard 
quantity.

Related Functions

None

Related Tables

None