KanbanSuperBackflushProcessing

Kanban Super Backflush Processing

Minor Business Rule

Object Name: N3101790

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

To prepare for the completion of a Work Order using Super Backflush functionality.  This function is 

called by the Kanban check in and Kanban completion processing. 


1.2Setup Notes and Prerequisites


None.


1.3Special Logic


Note: The Super Backflush Edit Doc function has not been included in this business function.  Instead 

it is called from the Kanban Processing application (P3157) after any non-blind applications (issues, 

hours & qtys, completions, etc) are executed.  If all processing is non-blind, the application will 

bypass calling the applications but still execute the Super Backflush Edit Doc.


2.Technical Specifications


2.4Processing 

Call Super Backflush Begin Doc to retrieve F4801 header information
F3112 Super Backflush Begin Doc (B3101060)

If there is an error from begin doc, set flags

If evt_ErrorMsg_DTAI <> ' ' 

BF ErrorCode = '2' 
BF ErrorMessageID = evt_ErrorMsg_DTAI 

End

Read WO routings and load to cache
Table I/O from F3112


If SV File_IO_Status is equal to CO SUCCESS 

Save Key Fields

End


Load Cache

F3112 Super Backflush Edit Line (B3101060)

If PayPointCode is equal to "B" or "L" or "M"

F3112 Super Backflush Edit Line (B3101060)


If any errors from edit line, set error flags

If VA evt_szErrorMsg_DTAI is not equal to  

BF cErrorCode = "2" 

BF szErrorMessageID = VA evt_szErrorMsg_DTAI

End If

End If

 

If errors exist close caches without writing to F3112

If BF cErrorCode is equal to "2" 

F3112 Super Backflush End Doc

End If


^

Data Structure

D3101790A - Kanban Super Backflush Edits

Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes

JOBS      Job Number                  IRUsed to retrieve the Work 

                                                      Cache.

ERRC      Error Code                  ODetermines whether any 

                                                      errors or warnings were 

                                                      issued. ' ' = No Errors '1' 

                                                      = Warning '2' = Error

DTAI      Error Message ID            O

EV01      Suppress Error Messages      I'1' = Suppress Error 

                                                      Message

VERS      Version                  I

DOCO      Order Number            IR

UORG      QtyCompleted            IR

UORG      QtyScrapped                  I

TRDJ      Transaction Date            I

AN8      Employee Number            IR

ICU      P311221 Batch Number      OReturned from Super 

                                                      Backflush begin doc.  Used 

                                                      when posting hours and 

                                                      quantities.

OPSQ      From Operation Sequence      OReturned from Super 

                                                      Backflush edit line.  

                                                      Contains the last material 

                                                      pay point.

OPSQ      Thru Operation Sequence      OThe last operation sequence 

                                                      specified on the work order 

                                                      (which must be a pay 

                                                      point).




^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberJOBSMATH_NUMERICREQINPUT

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

cErrorCodeERRCcharOPTNONE

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).

szErrorMessageIDDTAIcharOPTNONE

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.

cSuppressErrorMessagesEV01charOPTINPUT

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

szVersionVERScharOPTINPUT

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.

mnOrderNumberDOCOMATH_NUMERICREQINPUT

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.

mnQtyCompletedUORGMATH_NUMERICREQINPUT

The quantity of units affected by this transaction.

mnQtyScrappedUORGMATH_NUMERICOPTINPUT

The quantity of units affected by this transaction.

mnEmployeeNumberAN8MATH_NUMERICREQINPUT

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

mnP311221BatchNumberICUMATH_NUMERICOPTNONE

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

mnFromOperationSeqOPSQMATH_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.

mnThruOperationSeqOPSQMATH_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.

jdTransactionDateTRDJJDEDATEOPTNONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

szKanbanSuppLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szSupplyingBranchPlantMCUcharOPTNONE

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.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

Related Functions

None

Related Tables

None