KanbanGetPOReceiptLocationLot

Kanban Purchase Order Processing

Minor Business Rule

Object Name: N3101850

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

Data Structure

D3101850C - Get Kanban PO Receipt Location Lot

Parameter NameData ItemData TypeReq/OptI/O/Both
mnPODocumentNumberDOCOMATH_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.

szLotLOTNcharOPTNONE

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

szCompanyKeyOrderNoKCOOcharOPTNONE

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.

szOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

cMatchTypeMATCcharOPTNONE

A code, attached to each purchase-order detail record or receipt record, that indicates whether a voucher exists and whether the voucher 
or receipt record has been reversed. Valid values are: 1 No voucher exists. 2 A voucher exists. 3 The voucher has been reversed. 4 The receipt 
record has been reversed. Note: Record types 3 and 4 are audit records only; you cannot access these record types for the Voucher Match 
program (P4314) or the PO Receipts program (P4312).

szBranchPlantMCUcharOPTNONE

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.

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

cSuppressErrorMsgEV01charOPTNONE

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

Related Functions

None

Related Tables

None
KanbanPurchaseOrderEntry

KanbanPurchaseOrderEntry

Kanban Purchase Order Processing

Minor Business Rule

Object Name: N3101850

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

To prepare for the Purchase Order Entry functionality as required by Kanban.  This function is called 

by the Kanban check out processing. 


2.4Processing 


Get PO Entry Defaults

If BF ComputerID == ' '

Get Computer ID
End

Get Document Company

Call "RetrieveCompanyFromBusUnit"
Passing BF SupplyBranch,
Retrieving BF POCompany


Get Fiscal Year for next Numbers

Call "Return FYPN"(BXX00023)
Passing BF POCompany;
Retrieving ReturnFiscalYear and ReturnCentury


Get Next Number Index, default to one if not found

Call "VerifyActivityRulesStatusCode"(B4000260A)
Passing BF POType;
Retrieving ErrorCode and NextNumber

If ErrorCode = '1'

var NextNumber = '01'
End


Get Next Purchase Order Number

Call "F4301GetNextNumber"(B4300050)
Passing BF POType, BF PO Company, var Next Number, ReturnFiscalYear, ReturnCentury, and Action 
Code '1';

Retrieving BF PONumber


Convert Related Order Number from Math Numeric to String

Call "ConvertNumericString"(B0000045)
Passing BF RelatedOrderNumber;
Retrieving CnvRelatedOrderNumber


Call Purchase Order Entry Edit Line

Execute F4311 Edit Line (XT4311Z1)
BF  mnJobNumber <>mnJobNumber
BF  cComputerID->szComputerID[16]

BF  mnPOLineNumber      <>mnOrderLineNumber

"1"->cDetailActionCode

"2"->cUpdateOrWriteWorkFile

BF SuppressErrors ->cSuppressErrorMessages

BF szPOVersion-> szPurchaseOrderPrOptVersion[26]

BF szPOCompany<>szOrderCompany[6]

BF mnPONumber<>mnOrderNumber

BF szPOType<>szOrderType[3]

BF cPOSuffix<>szOrderSuffix[4]

BF szSupplyBranch->szBranchPlant[13]

BF szRelatedCompany<>szRelatedOrderCompany[6]

var szCnvRelatedOrderNumber<>szRelatedOrderNumber[9]

BF szRelatedOrderType<>szRelatedOrderType[3]

BF mnRelatedLineNumber<>mnRelatedOrderLine

BF mnSupplier->mnSupplierNumber
BF jdRequestDate<>jdRequestedDate

BF jdTransactionDate<>jdTransactionDate

BF szItemNumber->szUnformattedItemNumber[27]

BF mnTransactionQty->mnQuantityOrdered

BF szTransactionUoM<> szTransactionUoM[3]


 If Error (SV Error_Status equal to CO Error);

Set ErrorCode_ERRC = '2'

Execute Clean Up Functions
Execute F4311 Clear Work Files
BF szComputerID ->szComputerID[16]

BF mnJobNumber ->mnJobNumber

"1"->cClearHeaderFile

"1"->cClearDetailFile 

"1"->cUseWorkFiles


^

Data Structure

D3101850A - Kanban Purchase Order Entry Process

2.1D3101850A Parameters:
Data Item Description        I/O  Required  Notes
CTID      ComputerID            I/O

JOBS      JobNumber            I/O Y       Save for F4311 End Doc

ERRC      ErrorCode            O       Determines whether any errors or warnings were 

issued.

                                                       ' ' = No Errors '1' = Warning '2' = Error

EV01      SuppressErrors      I       ' ' = Not Suppress '1' = Suppress

VERS      POEntryVersion      I

DOCO      RelatedOrderNumberI 

DCTO      RelatedOrderType      I

KCOO      RelatedCompany      I

LNID      RelatedLineNumber      I

SFXO      RelatedOrderSuffixI

UITM      ItemNumber            I Y

TRQT      KanbanTransactionQtyI Y

UOM      TransactionUM      I Y

TRDJ      TransactionDate      I Y

AN8      Supplier            I Y

MCU      SupplyBranch      I Y

DOCO      PONumber              O

DCTO      POType            I/O Y      Passed in from processing options retrieved 

earlier.

KCOO      POCompany            O

LNID      POLineNumber      O

SFXO      POSuffix            O

DRQJ      RequestDate            I

LOCN        SupplyLocation   I      Y


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szComputerIDCTIDcharOPTNONE

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

cSuppressErrorMessagesEV01charOPTNONE

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

szVersionPOEntryVERScharOPTNONE

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.

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

szRelatedOrderTypeDCTOcharOPTNONE

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

szRelatedCompanyKCOOcharOPTNONE

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.

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

szRelatedOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

szItemNumberUITMcharOPTNONE

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

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

szKanbanUMUMcharOPTNONE

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.

jdTransactionDateTRDJJDEDATEOPTNONE

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

mnSupplierAN8MATH_NUMERICOPTNONE

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

szSupplyBranchMCUcharOPTNONE

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.

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

szPOTypeDCTOcharOPTNONE

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

szPOCompanyKCOOcharOPTNONE

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.

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

szPOOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

jdRequestedDateDRQJJDEDATEOPTNONE

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

szSupplyLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionIDTCIDMATH_NUMERICOPTNONE

mnF4311JobNumberJOBSMATH_NUMERICOPTNONE

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

szCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

cMultipleBlanketsEV01charOPTNONE

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

Related Functions

None

Related Tables

None
KanbanPurchaseOrderReceipt

KanbanPurchaseOrderReceipt

Kanban Purchase Order Processing

Minor Business Rule

Object Name: N3101850

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

To prepare for the Purchase Order Entry functionality as required by Kanban.  This function is called 

by the Kanban check out processing. 


3.4 Processing


Get  PO Receipt Defaults 

Call Get Audit Info 

If BF ComputerID is blank or null,

Call Get Local Computer ID
End
If BF Key-Company is blank or null,

Call F0006 Get Company from Business UnitEnd

If Bf Order Suffix is blank or null,

Default to "000"

End

If BF VersionPOReceipt is blank or null,

Default to ZJDE0002

End

Set Receipt Date (var_frm_RCDJ) to BF Transaction Date

If Receipt Date is blank or null,

Default Today's Date (from Audit Info)
End

Initialize TriangulationRateFromCurrency (var_grd_TRD1) to  "0"

Initialize TriangulationRateToCurrency (var_grd_TRD2) to  "0"

Initialize CurrencyConversionMethod (var_grd_CRCM) to blank


Open Table F4312

If  not successful,

If Suppress Errors is not equal to '1',

Set Error 099W.
End

Assign a '2' to Error Code.
Assign '099W' to Error Message ID.

Else,

FetchSingle using Document Number, Document Type, Key-Company, Order Suffix, and Line Number. 
Move all applicable fields to F4312 variables.
   If BatchNumber is blank,

Call F43121 Begin Doc 
BF JobNumber <> mnJobNumberBF 
ComputerID  -> szComputerID

"1"-> cActionCode

"1" -> cProcessEdits

BF ProgramID-> szProgramID

BF OrderNumber -> mnOrderNumber

BF OrderType -> szOrderType

BF Company -> szOrderCompany

"000" -> szOrderSuffix

VA Supplier <- mnSupplier

VA BaseCurrencyCode <- szBaseCurrency

VA CurrencyCode <- szPOCurrency

VA ExchangeRate <- mnExchangeRate

BF CostCenter <> jdReceiptDate

VA G/L Date <> jdGLDate

VA HCOD-POHoldCode <- szHoldCode

VA UserID -> szUserID

BF VersionName -> szPOVersion

BF F4312BatchNumber<> mnBatchNumber

BF F4312BatchStatus <> cBatchStatus

VA BatchDate <> jdBatchDate

 "2" -> cReceiptsByPO

VA TriangulationRateFromCurre <> mnTriangulationRateFromCurrenc

VA TriangulationRateToCurrenc <> mnTriangulationRateToCurrency

VA CurrencyConversionMethod <> cCurrencyConversionMethod

End

If Mode is = '1'

Assign Location and Lot from F4311.

End


If Error (SV Error_Status not equal to CO Error) and TransactionQuantity is Zero (Kanban)

Call F43121 Edit Line 
BF JobNumber <> mnJobNumber

   BF ComputerID <> szComputerID
"1" -> cActionCode
   "1" -> cProcessEdits
  BF ProgramID-> szProgramID

   BF Order Number -> mnOrderNumber

  BF Order Type -> szOrderType

  BF OrderCompany -> szOrderKeyCompany

 BF OrderSuffix -> szOrderSuffix

   BF LineNumber -> mnLineNumber

"1"-> cOption

   BF Version -> szPOVersion

   VA QtyOpen -> mnQuantityReceived

   VA UOM -> szReceiptUOM

 BF CostCenter      <> szReceiptBranch

 VA Location <> szLocationDatabase

 VA LotNumber <> szLotNumber

 VA ContainerID -> szContainerID

   VA Subledger-> szSubledger

 VA SubledgerType -> cSubledgerType

   VA G/L Date <> jdGLDate

   VA ReceiptDate <> jdReceiptDate

 VA BaseCurrencyCode <> szDomesticCurrencyCode

   VA CurrencyCode <> szPOCurrencyCode

   VA ExchangeRate <> mnExchangeRate

   VA  CurrencyMode <> cCurrencyMode

 BF  BatchNumber <> mnBatchNumber

   "O" <> szBatchType

 VA BatchDate <> jdBatchDate

 VA  Supplier<> mnSupplier

BF F4111JobNumber <> mnF4111JobNumber

   BF F0911JobNumber <> mnF0911JobNumber

 VA F4111Written <> cF4111Written

 VA LastJELine <> mnLastJELine

   VA TriangulationRateFromCurre <>mnTriangulationRateFromCurrenc

   VA TriangulationRateToCurrenc <> mnTriangulationRateToCurrency

VA CurrencyConversionMethod <> cCurrencyConversionMethod
 Else
Call XT4312 Edit Line for Process by Item.

End

If Error (SV Error_Status  equal to CO Error),

Set ErrorCode_ERRC to '2'

If Mode is "1" 


Call F43121 Delete Work File 
BF ComputerID <> szComputerID
BF JobNumber  <> mnJobNumber


If BF F4111JobNumber is not equal to   Or BF F4111JobNumber is not equal to 

F4111 Delete Work File

BF ComputerID -> szComputerID
"1" -> cClearDetailFile

BF F4111JobNumber -> mnInvJobNumber


F0911 Delete Work File

BF F0911JobNumber -> mnJobNumber"1" -> cClearHeader"1" -> cClearDetail

Delete Tolerance Checking Cache

"1" -> cDeleteEntireCache
         BF ComputerID -> szComputerID
         BF JobNumber -> mnJobNumber


F41291 Read Write Landed Cost Job Numbers

BF ComputerID -> szComputerID
 BF JobNumber -> mnLCJobNumber

         "7" -> szCacheActionCode

         "1" -> cSuppressErrorMessage

            

F4312 Status Code Cache
"OP" -> szOrderType "7" -> cMode

XT4312Z1 - Plag & Play

BF ProgramID -> szCallingApplBF Version -> szCallingVersBF FormID -> szCallingForm"DEL" -> 
szFormAction

      BF ComputerID -> szComputerID
      BF JobNumber -> mnJobnumberA

           

Maintain Distribution Parms CacheBF JobNumber -> mnJobnumber
      "8" -> cActionCode
End

 End

End

End

           






^

Data Structure

D3101850B - Kanban Purchase Order Receipt Process

3.1D3101850B Parameters:
Data Item  Description        I/O  Required  Notes
CTID        Computer ID       I/O  N

EV01        SuppressErrors       I  N        ' ' = Not Suppress '1' = Suppress

ERRC        Error Code       O  N        Determines whether any errors or warnings 

were

                                                        issued. ' ' = No Errors '1' = Warning '2' = 

Error

DTAI        ErrorMessageID       O  N

PID        ProgramID             I  Y

VERS        VersionCallingProgram I  Y

FID        FormID             I  Y

USER        UserID             I  Y

VERS        VersionPOReceipt I  N

TRDJ        Transaction Date I/O  N

DOCO        Document Number       I  Y

DCTO        Document Type       I  Y

KCO        Key  Company       I  Y

SFXO        Order Suffix       I  Y

LNID        Line Number       I  Y

JOBS        JobNumber             I/O  Y        Save for F4312 End Doc

JOBS        F4111JobNumber       O  Y        Save for F4312 End Doc

JOBS        F0911JobNumber       O  Y        Save for F4312 End Doc

ICU        F4312BatchNumber O  Y        Save for F4312 End Doc

BST        F4312BatchStatus O  Y        Save for F4312 End Doc

MCU        Cost Center       I  N        Required if Key Company is blank.

TRQT          Quantity Transaction   I      Y           Quantity Received

UOM           UnitofMeasureasInput   I      Y           Unit of Measure Quantity was Received

EV01          Mode                   I      N           Required for Kanban/Single Record Processing

LNID          ReceiptLineNumber      I      N           Required if not calling Begin Doc

EV01          ReceiptRecordWritten   I/O    N

LOCN          Location               I      N           Receiving Location. Required if not calling 

Begin Doc

LOTN          Lot/Serial Number      I      N           Receiving Lot. Required if not calling Begin 

Doc 

DGL           GLDate                 I      N

DICJ          BatchDate              I      N


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szComputerIDCTIDcharOPTNONE

cSuppressErrorMessagesEV01charOPTNONE

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.

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.

szVersionVERScharOPTNONE

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.

szFormIdFIDcharOPTNONE

The Form ID refers to the report (R), form (V), or table number (F).

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

jdDateTransactionJulianTRDJJDEDATEOPTNONE

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

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.

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

szCompanyKeyOrderNoKCOOcharOPTNONE

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.

szOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

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.

szCostCenterMCUcharOPTNONE

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.

mnJobnumberJOBSMATH_NUMERICOPTNONE

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

mnF4111JobnumberJOBSMATH_NUMERICOPTNONE

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

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.

cBatchStatusCodeBSTcharOPTNONE

A code that indicates whether a batch of transactions has been posted, is ready to post, is still open for entry, and so on.

szVersionPOReceiptVERScharOPTNONE

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.

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

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

cModeEV01charOPTNONE

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

mnReceiptLineNumberNLINMATH_NUMERICOPTNONE

A number representing the number of lines on either a purchase or sales order. or The number of receivers recorded during the receipts 
process.  This field will be used in Voucher Matching.

cReceiptRecWrittenEV01charOPTNONE

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

szLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szLotLOTNcharOPTNONE

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

jdGLDateDGLJDEDATEOPTNONE

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

jdBatchDateDICJJDEDATEOPTNONE

The date of the batch. If you leave this field blank, the system date is used.

Related Functions

None

Related Tables

None
f 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.

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

szPOOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is al