KanbanInventoryTransferProcess

Kanban Inventory Transfer Process

Minor Business Rule

Object Name: N3101800

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

To prepare for the inventory transfer functionality as required by Kanban.  This function is called 

by the Kanban check in and Kanban completion processing. 


2.4Processing 


Get Defaults
Initialize ErrorCode to blank.
If BF ComputerID is blank,

Get ComputerID.


Call Inventory Transfers Begin Doc

Execute F4113 FS Begin Doc (XT4113Z1)
"3"  ->mnTransactionProcess

"IT"->szDocumentType

var  jdGLDate_DGL<>jdGLDate

BF jdTransactionDate <>jdTransactionDate

varjdBatchDate_DICJ<>jdBatchDate

var mnJELineNumber_JELN<>mnJELastLineNumber

var szExplanation<>szGLExplanation

BF szSupplyBranch<>szFromBranchPlant

var szSupplyKeyCompany_KCO<-szFromKeyCompany

BF szConsumeBranch<>szToBranchPlant


If var ErrorCode_ERRC  is equal to '1',

Set BF ErrorCode_ERRC  to '2'
Else,

Call Inventory Transfers Edit Line
Execute F4113 FS Edit Line (XT4113Z1)
BF szComputerID_CTID->szComputerID

"3"->mnTransactionProcess

zer->cLineAction

BF mnF0911JobNumber_JOBS<-mnF0911JobNumber

BF POcAllowQtyOverAvailable->cAllowQtyOverAvailable 

BF POcDefaultFromPrimaryLocation->cDefaultFromPrimaryLocation 

BF POcAllowedHeldLot->cAllowedHeldLot 
var jdGLDate_DGL<>jdGLDate

BF jdTransactionDate<>jdTransactionDate

"IT"->szDocumentType

var jdBatchDate_DICJ<>jdBatchDate

BF mnBatchNumber_ICU<-mnBatchNumber

BF szBatchStatus_EV01<-szBatchStatus

var szGlExplanation<>szGLExplanation

BF szItemNumber->szItemNumber

BF mnTransactionQuantity<>mnTransactionQty

BF szTransactionUOM<>szTransactionUOM

BF szSupplyBranch->szFromBranchPlant

BF szSupplyDisplayLocn<>szFromDisplayLocation

BF szSupplyLotNumber<>szFromLotNumber

var szSupplyKeyCompany_KCO->szFromKeyCompany

BF szConsumeBranch->szToBranchPlant

BF szConsumeDisplayLocn->szToDisplayLocation

BF szConsumeLotNumber->szToLotNumber

 "1"->mnFromLineNumber

var mnJELineNumber_JELN<>mnLastJELine

BF POcDefaultFromToPrimary->cDefaultFromToPrimary

BF mnInvJobNumber_JOBS<>mnInventoryJobNumber


If SV Error_Status   is equal to ERROR 

 Set BF ErrorCode_ERRC  to '2' .


Call F3113 FS Clear Work File

BF szComputerID_CTID ->szComputerID
 "IT"->szDocumentType

BF mnF0911JobNumber_JOBS ->mnF0911JobNumber

"1"->   cProcessCloseBatch
BF mnBatchNumber_ICU->mnBatchNumber
BF szBatchStatus_EV01->cBatchStatus
BF mnInvJobNumber_JOBS->mnInvJobNumber




Data Structure

D3101800A - Kanban Inventory Transfer Process

2.1Parameters:
Data Item  Description              I/O  Required  Notes
CTID        szComputerID               I/O   N

JOBS     mnF0911JobNumber         I/O   Y          Save for End Doc 

                                                                and Clear Work 

                                                                File.

ICU        mnBatchNumber               I/O   Y          Save for End Doc 

                                                                and Clear Work 

                                                                File.

EV01        cBatchStatus               I/O   Y          Save for End Doc 

                                                                and Clear Work 

                                                                File.

JOBS        mnInvJobNumber               I/O   Y          Save for End Doc 

                                                                and Clear Work 

                                                                File.

ERRC        Error Code               O          Determines whether 

                                                                any errors or

                                                                warnings were 

                                                                issued. ' ' = No 

                                                                Errors '1' = 

                                                                Warning '2' = 

                                                                Error

MCUF        szSupplyBranch               I     Y

MCU        szConsumeBranch               I   Y

UITM        szItemNumber               I   Y

TRDJ        jdTransactionDate         I   N

TRQT        mnTransactionQty         I   Y

UM        mnTransactionUOM         I   Y

LOCN        szSupplyDisplayLocn         I   Y

LOTN        szSupplyLotNumber         I   Y

LOCN        szConsumeDisplayLocn         I   Y

LOTN        szConsumeLotNumber         I   Y

EV01        cPOAllowQtyOverAvail         I   Y

EV01        cPODefaultFromPrimaryLocation  I    Y

EV01        cPOAllowHeldLots         I   Y

EV01        cPODefaultToPrimaryLocation   I   Y


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szComputerIDCTIDcharOPTNONE

szSupplyBranchMCUFcharOPTNONE

The lowest value of the range a given user is authorized to view and process data. It is used in conjunction with the Business Unit Through 
Code which defines highest value. If no record exists for a user and file, the user is completely authorized to the file. If the file name is blank for 
a given user, the Business Unit range setup applies to all users of the file.

szConsumeBranchMCUcharOPTNONE

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.

szItemNumberUITMcharOPTNONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

jdTransactionDateTRDJJDEDATEOPTNONE

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

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

szTransactionUOMUMcharOPTNONE

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.

szSupplyDisplayLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szSupplyLotLOTNcharOPTNONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szConsumeDisplayLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szConsumeLotLOTNcharOPTNONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

cPOAllowQtyOverAvailEV01charOPTNONE

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

cPODefaultFromPrimLocationEV01charOPTNONE

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

cPOAllowHeldLotsEV01charOPTNONE

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

cDefaultToPrimLocationEV01charOPTNONE

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

mnF0911JobnumberJOBSMATH_NUMERICOPTNONE

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

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

cBatchStatusEV01charOPTNONE

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

mnInvJobNumberJOBSMATH_NUMERICOPTNONE

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

szDocumentTypeDCTcharOPTNONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

szTransactionExplanationTREXcharOPTNONE

Text that identifies the reason that a transaction occurred.

Related Functions

None

Related Tables

None