F3016GetKanbanMaster

F3016 Get Kanban Master

Minor Business Rule

Object Name: N3003470

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

This function will read the Kanban Master table (F3016) by the specified keys and verify if any 
record exists in the table. If any record is found, data will be returned from the table. 


1.2Setup Notes and Prerequisites


List of indexes:

• 1 = KID1
• 2 = DOCO, DCTO
Index : number identifying the index that will be used to retrieve the row.
Keys : number of keys in the index that should be used to retrieve row.


1.3Special Logic


None

2.Technical Specifications


2.4Processing 

Open the F3016 table.
If open table is successful

     Perform a select based on the input index.

     Fetch the matching record.

     If any record is found

          ERRC = 1

     Else

          ERRC = 0

     End if

Else

     ERRC = 2

End if

Close F3016


Data Structure

D3003470 - F3016 Get Kanban Master

Parameter NameData ItemData TypeReq/OptI/O/Both
mnKanbanID1KID1MATH_NUMERICOPTNONE

A unique identifier for the first kanban assigned to an item in a specified branch/plant, consuming location, or supplying location.

cKanbanStatusKBSTcharOPTNONE

Indicates the current status of a kanban.  Valid values are: 1 or In  The kanban is ready for use at the consuming location. 2 or Out  The 
kanban is empty and needs replenishment. 3 or Complete  Replenishment is complete.

mnIdentifierShortItemITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szIdentifier2ndItemLITMcharOPTNONE

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szIdentifier3rdItemAITMcharOPTNONE

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned 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.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

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

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

mnLineNumberLNIDMATH_NUMERICOPTNONE

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.

szLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szBusinessUnitMCUcharOPTNONE

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.

szLocationToTLOCcharOPTNONE

The storage location to which goods will be moved.

szBranchMMCUcharOPTNONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

cReplenishmentSourceTypeREPTcharOPTNONE

A code that indicates the type of supplying location for a kanban. Valid values are:    0   DFM Raw and In Process (RIP)    1   Work center    2   
Inventory    3   Supplier     4   Outside Assembly    5   Transfer Order    6   DFM Dual Card

mnAverageQueueTimeHoursAVRTMATH_NUMERICOPTNONE

The time required before a consuming location has a replacement kanban available from its supplying location. This value is used only for 
kanban card processing in Shop Floor Management.

mnKanbansizeQuantityKBQTMATH_NUMERICOPTNONE

The total size of the kanban.

szUnitOfMeasureAsInputUOMcharOPTNONE

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

mnContainerSizeQuantityCNTSMATH_NUMERICOPTNONE

The capacity of a container in a kanban-controlled environment.

szUnitOfMeasureUMcharOPTNONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

cKanbanTransferMethodKBTMcharOPTNONE

A code that indicates the method that the system uses to transfer completed units from the supplying location to the consuming location. 
Valid values are:    1   One-phase transfer. The completion of the kanban and transfer of inventory are performed simultaneously.    2   
Two-phase transfer. The kanban is completed and then the inventory is transferred.

cKanbanOverrideFlagKBOVcharOPTNONE

A code that is used to lock the kanban size and quantity to prevent changes by the kanban calculation program. Valid values are:    0   The 
system recalculates the size of the kanban.    1   The system does not recalculate the size of the kanban.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szLineIdentifierLINEcharOPTNONE

A number that defines a production line or cell. Detailed work center operations can be defined inside the line or cell.

cKanbanReceiptsFlagKBRCcharOPTNONE

A code that is used to indicate whether the system runs the receipts process at kanban check-in time. Valid values are:    0   The system 
does not run the receipt process.    1   The system runs the receipt process.

szUserReservedCodeURCDcharOPTNONE

This is a 2 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

jdUserReservedDateURDTJDEDATEOPTNONE

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedAmountURATMATH_NUMERICOPTNONE

This is a 15 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedNumberURABMATH_NUMERICOPTNONE

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedReferenceURRFcharOPTNONE

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

mnTransactionQuantityTRQTMATH_NUMERICOPTNONE

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

nIndexINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nKeysINT02integerOPTNONE

Number of Days in the Past to Query for Quote Requests Received. 

cSuppressErrorMessageEV01charOPTNONE

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

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.

Related Functions

None

Related Tables

None