F0911FSBeginDoc

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose


Setup Notes and Prerequisites


Special Logic




Technical Specification



Special Input Expected

DELETE THIS SECTION IF IT DOES NOT APPLY.


Special Output Returned

DELETE THIS SECTION IF IT DOES NOT APPLY.


Significant Data Values

x - xxxxxxxxxxxxx

x - xxxxxxxxxxxxx

x - xxxxxxxxxxxxx

DELETE THIS SECTION IF IT DOES NOT APPLY.

Data Structure

D0900049A - F0911 - FS Begin Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberMATH06MATH_NUMERICNONENONE

Special Input Expected
The job number is used to group records together in a document.  When calling BeginDocument for the 

first time for a document pass in zero and let BeginDocument assign the unique job number.   ab 


Special Output Returned

If a zero is passed in then this function will use next numbers to retrieve and return a unique job 

number.

cDocActionACTNcharNONENONE

Special Input Expected
This is the action being performed at the document level.


Significant Data Values

A or 1 = Add

C or 2 = Change 

D or 4 =  Deleteab



cEditInstructionFlagEV01charNONENONE

Special Input Expected
This flag is used to determine what type of editing is to be performed on fields in the header of the 

document.


Significant Data Values

'0' = No  Editsab

any other value = Full Edits 



cErrorFlagEV01charNONENONE

Special Output Returned
This flag returns a value indicating the status of the values which were edited in BeginDocument.


Significant Data Values

' ' = No Errors

 '1' = Warning

 '2' =  Errorab 



^

cTypeDocEV01charNONENONE

Special Input Expected
This is the transaction type of the document.


Significant Data Values

'I' = Invoice

'V' = Voucher

'J' or ' ' = Journal Entry (default) 


^

mnLastLineNumberJELNMATH_NUMERICNONENONE

Special Input Expected
This holds the value of the last line number used in the document.  When adding a new document this 

will be zero on the initial call.  When updating an existing document you must pass in the last line 

number used in the document so the function knows what line number to start with if a new line is added.



^

szCompanyKeyKCOcharNONENONE

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

szDocumentTypeDCTcharNONENONE

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 

mnDocNumberDOCMATH_NUMERICNONENONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

jdGLDateDGJJDEDATENONENONE

A date that identifies the financial period to which the transaction will be posted. You define financial periods for a date pattern code that you 
assign to the company record. The system compares the date that you enter on the transaction to the fiscal date pattern assigned to the 
company to retrieve the appropriate fiscal period number, as well as to perform date validations.

szLedgerTypeLTcharNONENONE

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

mnBatchNumberICUMATH_NUMERICNONENONE

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.

szBatchTypeICUTcharNONENONE

A code that specifies the system and type of transactions entered in a batch. The system assigns the value when you enter a transaction. 
Valid values are set up in user defined code table 98/IT. You cannot assign new values. All batch types are hard coded.

jdBatchDateDICJJDEDATENONENONE

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

jdBatchSystemDateDSYJJDEDATENONENONE

This is the date the batch was entered to the system.

mnBatchTimeTICUMATH_NUMERICNONENONE

The system time a batch was created.

szTransactionCurrencyCRCDcharNONENONE


mnCurrencyRateCRRMATH_NUMERICNONENONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

szExplanationEXAcharNONENONE

A description, remark, explanation, name, or address.

szReference1R1charNONENONE

A number that provides an audit trail for specific transactions, such as a payment number for payment processing.

szHomeBusinessUnitHMCUcharNONENONE

The number of the business unit in which the employee generally resides.

szInvoiceNumberVINVcharNONENONE

The supplier's invoice number that is used for voucher entry. Voucher entry allows only one invoice per voucher number. If multiple invoice 
numbers exist on a voucher, you must set them up as multiple vouchers or combine the invoices and enter them as one voucher. Depending 
on how you have your accounts payable constants set, the system can do one of the following:   o  Accept a duplicate invoice number 
without warning or error   o  Generate a warning message in which the duplicate invoice number can still be accepted   o  Generate an error 
message Blank values are treated in the same manner as any other invoice number. Two blank invoice numbers are treated as duplicates. To test 
for duplicate invoice numbers that might have been entered in error, run the Suspected Duplicate Payments report (R04601). Note: The 
duplicate invoice number validation is not run for vouchers with document type NO. These vouchers are created by the Generate Reimbursements 
program (R03B610).

jdInvoiceDateIVDJDEDATENONENONE

The date the invoice was printed. The system updates this date when you run the invoice print program in the Sales Order Management 
system.

cReverseVoidREcharNONENONE

An option that specifies whether the system automatically creates reversing entries for a transaction. If you turn on this option, the system 
creates reversing entries when you post the original transaction and uses the first date of the next period for the G/L date.

jdHistoricalDateHDGJJDEDATENONENONE

This is a historical date which is used when processing Dual Currency. This date is used to retrieve rates from the Daily Transaction File 
(F0015) instead of the general ledger date of the transaction.  Transactions that carry an historical date include voids of vouchers, invoices, or 
payments.

mnHistoricalRateHCRRMATH_NUMERICNONENONE

The exchange rate entered for a journal entry. During multiple currency processing, the system uses this rate for the associated journal 
entry instead of the rate in the Currency Exchange Rates table (F0015). This rate can be the average or historical rate.

cCurrencyModeCRRMcharNONENONE

Special Input Expected
This flag is only looked at if currency is on.  This flag tells the fucntion which side of the 

foreign entry is being entered.  

 

Special Output Returned

If left blank and currency is on it will be defaulted to 'F'.  If through processing the entry turns 

out to be domestic this will be changed to a 'D'.  


Significant Data Values

'D' = Domestic

'F' = Foreign



^

szBaseCoCurrencyCRDCcharNONENONE

Special Input Expected
This will be edited to see if it is a valid currency code.  


Special Output Returned

It will be defaulted in from the currency of the company of the first account.  ab 



^

cMultiCurrencyIntercoDOT1charNONENONE

Special Input Expected
Future - This flag will be set and used if the transaction turns out to be intercompany 

multi-currency.ab 


^

mnAmountToDistributeATADMATH_NUMERICNONENONE

Special Input Expected
Used for vouchers and invoices for balancing the  document.ab 


^

mnCurAmountToDistributeCTADMATH_NUMERICNONENONE

Special Input Expected
Used for vouchers and invoices for balancing the document.   Foreign  Amount.ab 


^

cCurrencyFlagCRYRcharNONENONE

Special Input Expected
This flag needs to be loaded with the system value set in the general constants. Y, N, or Z  ab 


^

cHeaderChangedFlagEV01charNONENONE

Special Input Expected
When the action code is equal to 'C' this needs to have a value of '1' if any fields in the header 

have changed.  This value will be used in EndDoc.    ab 


^

cModelFlagEV02charNONENONE

Special Input Expected
This is used to tell the serve that the entry being created is a model.  If the transaction being 

processed is a model then the server will bypass editing dates and batch information.  Along with this 

flag a 'M' must be passed in the posted code in edit line.   ab 


Significant Data Values

'1' = Model   

' ' = Not Model 

^

szJEVersionVERcharNONENONE

Special Input Expected
Version of application P0900049 to use to retrieve processing options for the master business 

function.  If no value is passed then it will default to version  ZJDE0001.ab 


^

cExchangeRateDateFlagEV01charOPTNONE

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

cPaymentInstrumentPYINcharOPTNONE

Special Input Expected
The value in this field will be written to the F0911Z4 table when outbound interoperability is 

activated for the account ledger.  

^

cConfigHubTransactionTypeEV01charOPTBOTH

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

szBaseCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
F0911FSClearStack

F0911FSClearStack

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function will be used to clear the header and detail cache records.   


Setup Notes and Prerequisites

If you would like to clear the header cache then pass a '1' in the cClearHeader parameter.  If you 

would like to clear the detail cache then pass a '1' in the cClearDetail parameter.  If a specific line 

needs to be deleted from the detail cache then only pass that line number in the DetailLineFrom 

parameter.  If you wish to delete all records up to a specific line then pass a zero in the DetailLineFrom 

and pass the line that you wish to delete through in the DetailLineThru parameter.  If you wish to 

delete all records in the detail cache then pass zeros in both DetailLineFrom and DetailLineThru.     


Special Logic

This function can be used to delete records from a grid that haven't been committed to the database.  

For example, you are adding a new entry and you decide that you don't need one of the lines entered. 

You highlight the grid line and hit the delete button, only the record in the detail cache needs to be 

deleted because this line hasn't been written to the database yet.  You will need to add a flag to 

each grid line.  This flag will be set if the record already exists in the database.  The flag should be 

set to a '1' on the event write grid line.  You will then look at this flag on the event Delete Grid 

Rec Verify After and if it is a '1' call ClearStackRecords with that records line number in the 

mnDetailLineFrom parameter.


Technical Specification

If cClearHeader = '1' then clear the header cache using the job number.

If cClearDetail = '1' then clear the detail cache based on the "from" and "through" lines passed.

If the through line is blank and the "from" line is not then delete the line specified in the "from" 

line.  If both are blank then delete all detail records with the job number passed in the parameter.

If the "through" line is not blank then use the line number passed in the "from" and begin deleting 

from that point up to the "through" line.  ^

Data Structure

D0900049E - Clear Stack Records


Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICNONENONE

Special Input Expected
Pass in the job number of the cache you wish to clear.  This job number was returned from 

BeginDocument.ab


cClearHeaderEV01charNONENONE

Special Input Expected
This flag is used to tell the function if we are to clear the header cache.


Significant Data Values

' ' = do not clear header

'1' = clear  headerab 


^

cClearDetailEV01charNONENONE

Special Input Expected
This flag is used to tell the function if we are to clear the detail cache.


Significant Data Values

' ' = do not clear detail

'1' = clear  detailab 


^

mnDetailLineFromJEL1MATH_NUMERICNONENONE

Special Input Expected
Line number at which you wish to begin clearing the detail cache.  If you wish to delete a specific 

line then send that line number in this parameter and leave mnDetailLineThru = 0.  ab 


^

mnDetailLineThruJEL1MATH_NUMERICNONENONE

Special Input Expected
Line number at which you wish to stop clearing the detail cache.  If this parameter and 

mnDetailLineFrom are equal to zero then all detail cache records with the job number passed will be  deleted.ab 


^

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
F0911FSDeleteDoc

F0911FSDeleteDoc

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This business function is used to delete all G/L transaction lines from the F0911 table for one 

summary line.  Prior to deleting the transactions the function Validate - Delete JE Document (B0900037) is 

called to verify that the entry being deleted is not posted.  The deletion is then performed through 

the business function Delete G/L Transactions (B0900031). 


Setup Notes and Prerequisites

The correct batch number must be passed to this function.


Special Logic

The business function Delete G/L Transactions (B0900037) also updates the batch header. The DeleteGL 

Transaction will delete CA records along with the AA records if the document is foreign.


Technical Specification

Load parameter list to Validate - Delete JE Document (B0900037)

Call Validate - Delete JE Document (B0900037)

If the document contains posted records set error message

DeleteFlag = ' '

If the document does not contain posted records load parameters to Delete G/L Transaction (B0900031) 

and call Delete G/L Transaction (B0900031).

DeleteFlag = '1'




^

Data Structure

D0900049G - F0911 - FS Delete Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
mnBatchNumberICUMATH_NUMERICNONENONE

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.

szBatchTypeICUTcharNONENONE

A code that specifies the system and type of transactions entered in a batch. The system assigns the value when you enter a transaction. 
Valid values are set up in user defined code table 98/IT. You cannot assign new values. All batch types are hard coded.

mnDocumentNumberDOCMATH_NUMERICNONENONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szDocumentTypeDCTcharNONENONE

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 

szCompanyKeyKCOcharNONENONE

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

jdGLDateDGJJDEDATENONENONE

A date that identifies the financial period to which the transaction will be posted. You define financial periods for a date pattern code that you 
assign to the company record. The system compares the date that you enter on the transaction to the fiscal date pattern assigned to the 
company to retrieve the appropriate fiscal period number, as well as to perform date validations.

szLedgerTypeLTcharNONENONE

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

cDeleteFlagEV01charNONENONE

Special Output Returned
Flag sent back to calling program to show if document was deleted.


Significant Data Values

'1' = deleted

' ' = not deleted

^

cPaymentInstrumentPYINcharOPTNONE

A user defined code (00/PY) that determines the means by which a payment is issued to a supplier or received from the customer. 
Examples of payment instruments include check, electronic funds transfer, lockbox, and EDI.

szInteropVersionVERcharOPTNONE

Identifies a specific set of data selection and sequencing settings for the application. Versions may be named using any combination of 
alpha and numeric characters. Versions that begin with 'XJDE' or 'ZJDE' are set up by J.D. Edwards.

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
F0911FSEditDoc

F0911FSEditDoc

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function is used to do balance checking. The document number will also be edited for uniqueness 

here if it is not zero. 


Setup Notes and Prerequisites

Prior to calling EditDoc you must first run BeginDoc which creates the header cache. This module will 

then read in the header cache record to do editing.

This module should only be called if using processing mode = '1' (batch mode).  This module should be 

called from the OK button is clicked event.

A remaining amount field should be located on your form to display any remaining amount found during 

balance checking.   


Special Logic



Technical Specification

Retrieve header cache record.

If the document action is equal to 'A' or  '1' then validate that record doesn't already exist.

Validate the document type if it is passed in as a parameter.  If it is not passed and the document 

type in the header cache record is blank then default 'JE' as the document type. 

Add in foreign or domestic amount to distribute if passed in as a parameter. Check totals for the 

foreign or the domestic side for balancing.  If not equal to zero and the exit out of balance flag 

(cAllowExitOutOfBalance) is not equal to '1' then set error.  


Data Structure

D0900049C - F0911 - FS Edit Document

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberMATH06MATH_NUMERICNONENONE

Special Input Expected
Pass in the job number which was returned by the Begin Document module.

^

cErrorFlagEV01charNONENONE

Special Output Returned
This flag returns a value indicating the status of the values which were edited in EditDocument.


Significant Data Values

' ' = No Errors

'1' = Warning

'2' =  Errorab 




^

cCurrencyConversionFlagCRYRcharNONENONE

Special Input Expected
This flag needs to be loaded with the system value set in the general constants. Y, N or  Z.ab 


^

mnRemainingAmountAAMATH_NUMERICNONENONE

Special Output Returned
This field will hold the remaining amount needed to balance the document if it is out of  balance.ab 


^

cAllowExitOutOfBalanceEV01charNONENONE

Special Input Expected
This field allows you to enter an entry to the F0911 that is out of balance.


Significant Data Values

' ' = Do not exit out of balance

'1' = Exit out of balance 

^

mnAmounttoDistributeAAMATH_NUMERICNONENONE

Special Input Expected
This parameter was added to allow the amount to distribute to be passed in through EditDoc.  If an 

amount is passed in through this parameter then the amount passed in to the amount to distribute 

parameter in BeginDoc will be over  written.ab 


^

mnCurrencyAmounttoDistributeACRMATH_NUMERICNONENONE

Special Input Expected
This parameter was added to allow the currency amount to distribute to be passed in through EditDoc.  

If an amount is passed in through this parameter then the amount passed in to the foreign amount to 

distribute parameter in BeginDoc will be over  written.ab 


^

cTransactionTypeEV01charNONENONE

Special Input Expected
This parameter is used to tell the function what type of transaction this is in order to validate the 

document type correctly.


Significant Data Values

J = Journal Entry

I = Invoice

V = Voucher

^

szDocumentTypeDCTcharNONENONE

Special Input Expected
This field is used to pass in the document type of the transaction.  If a document type is passed in 

then it is validated against the appropriate UDC table.  If a value is not passed in and the document 

type was not passed in the BeginDoc module then the document type will be defaulted in at this point. 

ab 


^

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
F0911FSEditLine

F0911FSEditLine

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D0900049B - F0911 - FS Edit Line

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberMATH06MATH_NUMERICNONENONE

Special Input Expected
This is the job number passed back from BeginDocument.

^

cLineActionACTNcharNONENONE

Special Input Expected
This is the action being performed at the line level.


Significant Data Values

A or 1 = Add 

C or 2 = Change 

D or 4 =  Deleteab 



^

cProcessingModeEV01charNONENONE

Special Input Expected
This flag tells this function how to store the information enter for each line of the document.


Significant Data Values

'1' = batch mode (write to detail cache record) 

Note: At this time always pass a '1' in this  parameter.ab 



^

cEditFlagEV01charNONENONE

Special Input Expected
This parameter is used to determine what type of editing will be performed at the line level by this 

function.


Significant Data Values

'0' = No Edits

'1' = Full Edits

cErrorFlagEV01charNONENONE

Special Output Returned
This flag returns a value which shows the status of the edits performed in EditDocument


Significant Data Values

' ' = No Errors

'1' = Warning 

'2' =  Errorab 



^

cRecordWrittenFlagEV01charNONENONE

Special Input Expected
If a '1' is passed into this parameter it tells this function that the record has already been added 

to the detail cache and that we should update the existing record.


Special Output Returned

Once a record has been successfully written to the detail cache a '1' is passed back in this 

parameter.


Significant Data Values

'1' = record has already been written to detail  cacheab 



^

cTypeDocEV01charNONENONE

Special Input Expected
This is the transaction type of the document.


Significant Data Values

'I' = Invoice

'V' = Voucher

'J' or ' ' = Journal Entry (default) 

^

mnLineNumberJELNMATH_NUMERICNONENONE

A number that designates a line within a journal entry. The system uses this field to sequence the journal entry lines for inquiry purposes.

mnAmountAAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

szAccountNumberANIcharNONENONE

A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:   o  Standard account 
number (business unit.object.subsidiary or flex format).   o  Third G/L number (maximum of 25 digits).   o  Account ID number. The number is eight 
digits long.       o  Speed code, which is a two-character code that you concatenate to the AAI item SP. You can then enter the code instead of 
an account number. The first character of the account number indicates its format. You define the account format in the General Accounting 
constants. 

szAccountIDAIDcharNONENONE

A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. 

szBusinessUnitMCUcharNONENONE

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.

szObjectOBJcharNONENONE

The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
subcategories. For example, you can divide the Cost Code for labor into regular time, premium time, and burden. Note: If you use a flexible chart of 
accounts and the object account is set to 6 digits, J.D. Edwards recommends that you use all 6 digits. For example, entering 000456 is not 
the same as entering 456 because if you enter 456 the system enters three blank spaces to fill a 6-digit object.

szSubsidiarySUBcharNONENONE

A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account.

cAccountModeAMcharNONENONE

A code that indicates which of the three general ledger account numbers is being used for data entry. Valid codes are:    1   The short 
account ID number    2   The standard long account number    3   The long (unstructured, 24-byte) account number    7   The first character of the 
account number indicates the format of the account number You can also define special characters in the Accounting Constants file (F0009) to 
facilitate data entry. For example:    /       For the unstructured account number    *       For the short account ID number    blank For the business 
unit.object.subsidiary number For example, if the account mode is 7 and the first character of the account number is *, the account number was 
entered as the short account ID number.

mnFiscalYearFYMATH_NUMERICNONENONE

A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

mnPeriodNumberPNMATH_NUMERICNONENONE

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

mnCenturyCTRYMATH_NUMERICNONENONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

szSubledgerSBLcharNONENONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharNONENONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

mnUnitsUMATH_NUMERICNONENONE

The quantity of something that is identified by a unit of measure. For example, it can be the number of barrels, boxes, cubic yards, gallons, 
hours, and so on.

szUnitOfMeasureUMcharNONENONE

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.

jdServiceDateDSVJJDEDATENONENONE

A date that indicates when you purchased goods or services, or when you incurred a tax liability. 

szLineExtensionEXTLcharNONENONE

Line Extension Code

szAssetIDASIDcharNONENONE

A 25-character alphanumeric number that you can use as an alternate asset identification number. You might use this number to track 
assets by the manufacturer's serial number. You are not required to use a serial number to identify an asset. Every serial number that you enter 
must be unique.

cPostedCodePOSTcharNONENONE

A code the system uses to determine whether a transaction is available for the post process. Valid codes 
are: Blank Unposted. D Posted. P Posted or posting. Depending on the type of transaction, this code has different meanings. If the code is assigned to an Account Ledger 
record (F0911), it indicates a posted status. If the code is assigned to any other transaction, it indicates that the system attempted to post the 
record but failed, due to an error it encountered.    M Model. The transaciton is a model journal entry.     

szExplanationEXRcharNONENONE

A name or remark that describes the purpose for using an account or conveys any other information that the user wants about the 
transaction.

szReference2R2charNONENONE

A number that provides an audit trail for specific transactions, such as an asset, supplier number, or document number.

szPayItemSFXcharNONENONE

A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has 
multiple pay items, the numbers are sequential.

cBillCodeBCcharNONENONE

A user defined code (98/BC) that identifies the billing status for the Joint Interest Billing (JIB) system. Valid codes include:    blank Blank (the 
default value) indicates transactions that are billable if a valid Division of Interest (DOI) exists for the business unit, and if the object account is 
within the billable range of accounts.    N Specifies a transaction is not billable regardless of the business unit, DOI, or account range.    D 
Direct charges the owner specified in the subledger field at 100%.    H Holds a billable transaction until the user wants to manually release the 
transaction by changing the Bill Code.    M Manual DOI code assignment requires a valid DOI code to be input.       During JIB Cost Allocations 
and Billing, this code is changed based on the processing status. G/L file purging uses this code. NOTE: Direct charges are only allowed for 
entity type O (outsider).

mnDoiSubDOIMATH_NUMERICNONENONE

A number that identifies a specific Division of Interest (DOI) for a business unit. You can have up to 99 revenue and 99 billing DOIs per 
business unit. Multiple DOIs can occur for a variety of reasons. For billing, multiple DOIs let you bill different account ranges or change ownership 
as of a specific date. For revenue distribution, multiple DOIs can be used for different products, purchase contracts, ownership changes, or 
owner certification changes as of a particular date. For land, multiple DOIs can be used to identify different ownerships for different tracts on a 
lease or BPO/APO (Before Payout/After Payout) working interest changes.

szWorkOrder001WR01charNONENONE

A user defined code (00/W1) that indicates the current stage or phase of development for a work order. You can assign a work order to only 
one phase code at a time. Note: Certain forms contain a processing option that allows you to enter a default value for this field. If you enter a 
default value on a form for which you have set this processing option, the system displays the value in the appropriate fields on any work 
orders that you create. The system also displays the value on the Project Setup form. You can either accept or override the default value.

szOutsiderLeaseWellIDALIDcharNONENONE

An alternate lease or well number as assigned by an outsider (governmental body or a purchaser). This number will often correspond to a 
product and/or purchaser combination for a particular sale. This field is also used as a generic cross reference to the lease master table for 
such items as unit numbers, contract numbers, well numbers, old lease numbers and so on.

szOrderTypeDCTOcharNONENONE

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

mnLineIDLNIDMATH_NUMERICNONENONE

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.

szPODocTypePDCTcharNONENONE

A value that is hard-coded in the originating programs and passed to the Accounts Payable system. In Accounts Receivable, the document 
type on the purchase order issued by the customer can be entered directly into the Accounts Receivable Ledger (F03B11)

szPOKeyCompanyPKCOcharNONENONE

For purchase orders, a code that differentiates a record from another with the same document number, document type, and G/L date.  If you 
are using the Next Numbers by Company/Fiscal Year feature of the software, the Next Numbers program (X0010) uses the document 
company to retrieve the next number. If two or more original documents have the same document number and type, you can use the document 
company to locate the correct record.

szPurchaseOrderPOcharNONENONE

A document that authorizes the delivery of specified merchandise or the rendering of certain services.

szPOSuffixPSFXcharNONENONE

The purchase order suffix is used to distinguish between multiple occurrences of a single purchase order.  It is frequently used in the case 
of blanket purchase orders.

c1099FlagTNNcharNONENONE

A code that indicates whether to include the pay item in 1099 processing (A/P Ledger method only). Valid values are: Blank  Do not include in 
1099 processing. 1        Include in 1099 processing. If you use the G/L method of 1099 processing, do not flag vouchers with distribution entries 
to G/L accounts that use Automatic Accounting Instruction (AAI) ranges for PX; these vouchers will be included automatically in the G/L 
method of 1099 processing.

mnCurrencyAmountACRMATH_NUMERICNONENONE

Special Input Expected
This is the amount associated with the foreign side of an entry.  This field is only looked at if 

currency is on.

^

mnForeignTaxAmountCTAMMATH_NUMERICNONENONE

Special Input Expected
Holds tax amount for foreign side of an entry.

^

mnForeignTaxableAmountCTXAMATH_NUMERICNONENONE

Special Input Expected
Holds taxable amount for foreign side of an entry.


^

mnTaxAmountSTAMMATH_NUMERICNONENONE

Special Input Expected
Holds tax amount for the entry.


^

mnAmountTaxableATXAMATH_NUMERICNONENONE

Special Input Expected
Holds taxable amount for the entry.


^

szTaxExplanationCodeEXR1charNONENONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szTaxAreaTXA1charNONENONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

cCurrencyFlagCRYRcharNONENONE

Special Input Expected
This flag needs to be loaded with the system value set in the general constants. Y, N or Z.

ab 



^

szCompanyCOcharNONENONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

jdCheckDateDKJJDEDATENONENONE

The check or item date. This might be the accounts payable check date, the accounts receivable check receipt date, and so on.

szDisplayKeyCompanyKCOcharNONENONE

Special Output Returned
Used to return the key company defaulted from the first account  number.ab 


^

szDisplayBaseCoCurrCRDCcharNONENONE

Special Output Returned
Used to return the base company currency defaulted from the first account  number.ab 


^

szDisplayTransCurrencyCRCDcharNONENONE

Special Output Returned
Used to return the transaction currency if it was defaulted from the first account  number.ab 


^

mnDisplayExchgRateCRRMATH_NUMERICNONENONE

Special Output Returned
Used to display the exchange rate that will be defaulted after the base currency is  retrieved.ab 


^

cDisplayCurrencyModeCRRMcharNONENONE

Special Output Returned
Used to display the currency mode if it changes after entering account  transactions.ab 


^

mnLastLineNoJELNMATH_NUMERICNONENONE

Special Output Returned
Used to pass back the last line number used in the current  document.ab 


^

mnOriginalAmountANOGMATH_NUMERICNONENONE

Special Input Expected
This field must be populated with the amount that was entered on the current line prior to the 

change.  This will be used in EditDoc for balancing purposes. 


Special Output Returned

This field will be assigned the value in mnAmount at the end of EditLine.

^

mnOriginalAmountForeignFAAMATH_NUMERICNONENONE

Special Input Expected
This field must be populated with the foreign amount that was entered on the current line prior to 

the change.  This will be used in EditDoc for balancing purposes.  This will only be looked at if 

currency is on. 


Special Output Returned

This field will be assigned the value in mnCurrencyAmount at the end of EditLine.



^

cGlPostCodeAlt001ALT1charNONENONE

The alternate G/L posting codes are used for transactional posting other than the normal G/L posting.  Examples include service date 
ledger posting, tax ledger posting, alternate currency ledger posting, and so forth. This post code is used as a flag to denote that a corresponding 
record with the same document number and type and G/L date but with a J.E. Line Extension of "AM" has been written to the Account 
Ledger file (F0911).

cGlPostCodeAlt002ALT2charNONENONE

The alternate G/L posting codes are used for transactional posting other than the normal G/L posting.  Examples include service date 
ledger posting, tax ledger posting, alternate currency ledger posting, and so forth. This post code is used in conjunction with 52 period accounting. 
If this post code is blank for any particular transaction record, then it will be considered for posting to the 52 period Account Balance File 
(F0902B) during the G/L Post procedure. This post code will then be updated to a "P". If a repost to the F0902B file is ever required, only those 
records whose alternate 2 post code status is a "P" will be reposted.

cGlPostCodeAlt003ALT3charNONENONE

The Alternate G/L Posting Codes are used for transactional posting other than the normal G/L posting. This hold code is used in conjunction 
with the F/A system. Only those records with a "batch rear end" value of blank, G/L post code of P and hold code value of blank will be 
selected in the Post Unposted F/A Entries program. If there are records that have been posted to G/L, but should not be posted to F/A, you can 
update this hold code to any character other than X or *. The X code is reserved for F/A Time Entry. The * code is reserved for selection of all 
hold codes in Revise Unposted Entries (P12102).

cGlPostCodeAlt004ALT4charNONENONE

The alternate G/L posting codes are used for transactional posting other than the normal G/L posting.  Examples include service date 
ledger posting, tax ledger posting, alternate currency ledger posting, etc. This code is used to designate job cost projections and/or commitment 
relief updates have been completed.

cGlPostCodeAlt005ALT5charNONENONE

This code is used to distinguish entries made through alternate journal entry program.  The valid codes are as follows:    M  Multicurrency 
Journal Entry T, V, and O. Tax Journal Entry Changes may only be made through these alternate journal  entry programs. This code is also 
used to distinguish entries made through alternate voucher entry programs, The valid codes are as follows:    C  Multi-Company Voucher Entry    
S  Sub-Contract Voucher Entry    P  Invoice Logging Voucher Entry Changes for codes C and S may only be made through these alternate 
Voucher Entry  entry programs.

cGlPostCodeAlt006ALT6charNONENONE

The alternate G/L posting codes are used for transactional posting other than the normal G/L posting.  Examples include service date 
ledger posting, tax ledger posting, alternate currency ledger posting, and so forth.

cCommitmentReliefFlagALT7charNONENONE

This field determines how the journal entry should impact a commitment made in the Purchasing and/or Contract Management systems.  
Possible values are:    blank  The commitment should be relieved.    N  The commitment relief has already been performed and should not be 
performed for this journal entry.    X  The commitment should be relieved; however if the receipt/payment is for a different exchange rate 
than the  purchase order or contract, omit any exchange rate conversion.

cBillingControlALT8charNONENONE

Billing Control for Service Billing.

cGlPostCodeAlt009ALT9charNONENONE

A value that is used in detailed currency processing to indicate the status of records in the Account Ledger table (F0911). Valid values 
are: Blank The record has not been processed by the Detailed Currency Restatement program. P The transaction was processed by the Detailed 
Currency Restatement program.  The program creates a corresponding record in the XA ledger (optionally, the YA and ZA ledgers) and 
updates the original AA ledger record with P (processed).  The program prints a report with the message "No errors - batch will post". N The 
transaction was processed by the Detailed Currency Restatement program, but ignored because the account is not within the account ranges 
for AAI item CRxx.  The program does not create a corresponding record in the XA ledger, but instead updates the AA ledger with N (not 
applicable).  Y The original journal entry was flagged to not create a corresponding record in the XA ledger when processed by the Detailed 
Currency Restatement program.  X The original journal entry was flagged not to create a corresponding record in the XA ledger when processed 
by the Detailed Currency Restatement program, and was subsequently voided.

cGlPostCodeAlt000ALT0charNONENONE

This posting flag is reserved for future use in the area of labor costing in the AEC product group.

cGlPostCodeAlt00XALTXcharNONENONE

Field used to denote tax.

szCheckNumberCNcharNONENONE

The number of the payment. It is assumed to be numeric and 8 digits or less.

jdDateCheckClearedDKCJDEDATENONENONE

The date the check was debited to the bank account. This will be updated during the tape bank reconciliation.

cSummarizedCodeSUMMcharNONENONE

A code that indicates whether the system has summarized this record. When you run the purge program, the system purges summarized 
records. Valid values are:    Y        Yes, this record has been summarized    blank No, this record has not been summarized  NOTE: When you 
run the summarize program, it creates records with a BF (Balance Forward) ledger type. When you run the purge program, these records are 
not deleted.

cPurgeCodePRGEcharNONENONE

A Y code designates that this record has been purged to the Purge File but could not actually be deleted for one reason or another (i.e., 
reconcilable account).

cBatchRearEndPostCodeBREcharNONENONE

The valid post codes for fixed asset transactions are as follows: Blank Unposted. Transaction has not yet been posted to the Asset Account 
Balances File table (F1202). P Pass. Transaction does not fall within the FX range of accounts as set up in automatic accounting instructions 
(AAIs) and will not post to fixed assets. You can manually update this field to P through the Revise Unposted Entries program (P12102). Use 
P in this field when the account number is within the fixed asset range of accounts, but you do not want the transaction to post to fixed assets. 
You can change this field from blank to P or from P to blank.  * Posted. Transaction has been posted to the Item Balances table. You cannot 
change this value.

szJobCategoryJBCDcharNONENONE

A user defined code (07/G) that defines the jobs within your organization. You can associate pay and benefit information with a job type and 
apply that information to the employees who are linked to that job type.

szJobStepJBSTcharNONENONE

A user defined code (07/GS) that designates a specific level within a particular job type. The system uses this code in conjunction with job 
type to determine pay rates by job in the Pay Rates table.

mnWeeklyYearWYMATH_NUMERICNONENONE

Fiscal year - weekly.

mnWeeklyPeriodWNMATH_NUMERICNONENONE

Fiscal period - weekly.

cFinalPaymentFNLPcharNONENONE

A code that indicates that an item is totally closed on the As Of date and will be ignored for future rebuilds of the As Of table.

cAssetInputModeASMcharNONENONE

An "*" in this field indicates that this transaction has been posted to Lease Cost Ledger File (F2111).  Once there is an asterisk in this field, 
the record cannot be changed.

mnSequenceNoOperationsOPSQMATH_NUMERICNONENONE

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.

mnOriginalDocNumberODOCMATH_NUMERICNONENONE

A number that is used in conjunction with the values in the ODCT and OKCO fields to identify a transaction.

szOriginalKeyCoOKCOcharNONENONE

A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction.

cClientFreeForm1CFF1charNONENONE

Free form for client use.

cClientFreeForm2CFF2charNONENONE

Free form for client use.

szGlClassGLCcharNONENONE

A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates 
the value that you enter to the AAI item RC (for Accounts Receivable) or PC (for Accounts Payable) to locate the trade account. For 
example, if you enter TRAD, the system searches for the AAI item RCTRAD (for receivables) or PCTRAD (for payables).  You can assign up to four 
alphanumeric characters to represent the G/L offset or you can assign the three-character currency code (if you enter transactions in a 
multicurrency environment). You must, however, set up the corresponding AAI item for the system to use; otherwise, the system ignores the G/L 
offset and uses the account that is set up for PC or RC for the company specified.  If you set up a default value in the G/L Offset field of the 
customer or supplier record, the system uses the value during transaction entry unless you override it.  Note: Do not use code 9999. It is reserved for 
the post program and indicates that offsets should not be created.

cDeleteNotAllowedDLNAcharNONENONE

Any non-blank value in this field indicates that the Account Ledger record cannot be deleted even if it has not yet been posted.  This is 
typically required in cases where integrity between Account Ledger records and associated data in another system must be upheld. The 
following codes represent valid values for this field:    blank Deletion is allowed (unless the record is posted or otherwise ineligible for deletion)    J 
Deletion is not allowed - Job Cost Profit Recognition

szIdTypeALTYcharNONENONE

A code to indicate what type of alternate lease/well number is being used. Examples include API well numbers, purchaser lease/well 
numbers, unit to lease cross references, old to new lease number cross references, and so forth. Certain codes have a hard coded meaning as 
follows:    P Represents a purchaser's alternate property number and is used in editing an alternate number for revenue check stub entry.    F 
Represents a purchaser's alternate facility number and is used in run ticket entry and gas volume statement entry.    C Represents alternate 
business units for one property. This occurs when multiple AFEs are set up for one property.    U Used for cross referencing multiple leases to 
multiple units.    W000 Used for cross-referencing wells to leases or lease tracts.    CC Used in contract cross-referencing (to leases, wells, and 
so forth.)    CL Used in contract cross-referencing (to leases, wells, and so forth.)    CW Used in contract cross-referencing (to leases, wells, and 
so forth.) Additional codes may be added using Descriptive Titles (System - 20, Record Type - AL).

szSubledgerDescriptionDL01charNONENONE

Special Output Returned
If the subledger entered is valid it's description will be returned in this field.

^

szAccountDescriptionDL01charNONENONE

Special Output Returned
If the account entered is valid it's description will be returned in this field.

^

cBypassMEditFlagEV01charNONENONE

Special Input Expected
This flag is used to bypass setting an error when using an account with an 'M' in the posting edit 

code.


Significant Data Values

'1' - bypass setting an error



^

cReconciledCodeRCNDcharNONENONE

A code that indicates whether a transaction in the Account Ledger table (F0911) is reconciled. The codes are defined in User Defined Code 
table under system 09 and code RC. A blank character is defined to be the un-reconciled character.  To set up a valid reconciled code 
make sure the following is done in the User Defined Code table:    1.   The special handling code in fold area of the UDC screen must contain a 
01.    2.   The reconciled code must be only one character long and can be a numeric or alpha character.

mnTaxAmountGrossAAMATH_NUMERICNONENONE

Special Input Expected
This field will hold the gross amount (Tax + Taxable).  This will be passed back from the tax 

calculator.  


Special Output Returned

This may be passed to the tax calculator and the tax calculator will pass back the Tax and the 

Taxable amounts.

mnForeignTaxAmountGrossACRMATH_NUMERICNONENONE

Special Input Expected
This field will hold the gross foreign amount (Foreign Tax + Foreign Taxable).  This will be passed 

back from the tax calculator.  


Special Output Returned

This may be passed to the tax calculator and the tax calculator will pass back the Foreign Tax and 

the Foreign Taxable amounts.

^

cPostingCode1ManagerialAccountPM01charNONENONE

Special Input Expected
Posted Code Used for Cost Management System  (CMS).ab 


^

cPostingCode2ManagerialAccountPM02charNONENONE

Special Input Expected
Posted Code Used for Cost Management System (CMS).

^

cPostingCode3ManagerialAccountPM03charNONENONE

Special Input Expected
Posted Code Used for Cost Management System (CMS).

^

cPostingCode4ManagerialAccountPM04charNONENONE

Special Input Expected
Posted Code Used for Cost Management System (CMS).

^

cPostingCode5ManagerialAccountPM05charNONENONE

Special Input Expected
Posted Code Used for Cost Management System (CMS).

^

cPostingCode6ManagerialAccountPM06charNONENONE

Special Input Expected
Posted Code Used for Cost Management System (CMS).

^

cPostingCode7ManagerialAccountPM07charNONENONE

Special Input Expected
Posted Code Used for Cost Management System (CMS).

^

cPostingCode8ManagerialAccountPM08charNONENONE

Special Input Expected
Posted Code Used for Cost Management System (CMS).

^

cPostingCode9ManagerialAccountPM09charNONENONE

Special Input Expected
Posted Code Used for Cost Management System (CMS).

^

cPostingCode10ManagerialAccounPM10charNONENONE

Special Input Expected
Posted Code Used for Cost Management System (CMS).

^

cManagerialAnalysisType1ABT1charNONENONE

Special Input Expected
Cost Object Type 1 for the Cost Management System  (CMS).ab 


^

szManagerialAnalysisCode1ABR1charNONENONE

Special Input Expected
Cost Object 1 for the Cost Management System (CMS).

^

cManagerialAnalysisType2ABT2charNONENONE

Special Input Expected
Cost Object Type 2 for the Cost Management System (CMS).

^

szManagerialAnalysisCode2ABR2charNONENONE

Special Input Expected
Cost Object 2 for the Cost Management System (CMS).

^

cManagerialAnalysisType3ABT3charNONENONE

Special Input Expected
Cost Object Type 3 for the Cost Management System (CMS).

^

szManagerialAnalysisCode3ABR3charNONENONE

Special Input Expected
Cost Object 3 for the Cost Management System (CMS).

^

cManagerialAnalysisType4ABT4charNONENONE

Special Input Expected
Cost Object Type 4 for the Cost Management System (CMS).

^

szManagerialAnalysisCode4ABR4charNONENONE

Special Input Expected
Cost Object 4 for the Cost Management System (CMS).

^

mnIdentifierShortItemITMMATH_NUMERICNONENONE

Special Input Expected
Short Item Number for the Cost Management System (CMS).

^

mnAddressNumberAN8MATH_NUMERICNONENONE

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

szOverrideExplanationEXAcharOPTNONE

Special Input Expected
The value in this field will be used to override the explanation passed into the begin doc module.  

This parameter is only intended to be used by payroll.

^

mnTaxItemNumberTXITMMATH_NUMERICOPTNONE

A code that identifies a group of items or a single item for tax purposes. Items that have a group code are usually assessed a VAT. Items 
that have a specific item code are usually assessed a luxury tax.

cTrackTaxesFlagTKTXcharOPTNONE

A code that specifies whether to update the General Ledger table (F0911) with tax information in order to track taxes for a general ledger 
account. Valid values are: 1 Update the tax explanation code field, tax rate area field, and tax item number field in the General Ledger table 
(F0911) to track taxes. 0 Do not update the tax explanation code field, tax rate area field, or tax item number field in the General Ledger table 
(F0911) to track taxes.

mnDistributionLineNumberDLNIDMATH_NUMERICOPTNONE

cGLPostingCodeAlternateWALTWcharOPTNONE

A value of "W" in this field indicates that the journal entry was created from a voucher under the Pay When Paid schema. This value is used 
by Contract Service Billing processes to identify the transactions that have to be processed under the pay-when-paid process. 

szCkNumberCKNUcharOPTNONE

For Auto Bank Statement, this code identifies the payment/receipt or reference number.  NOTE:   Bank Statement Detail section:  The 
payment/receipt number was originally stored in the DOCM field of F09617.  Due to size limitations of DOCM, it is now also stored in CKNU.  For 
display purposes, the data item used for payment/receipt number on this grid is CKNU. Account Ledger section:  This reference number was 
originally stored in the R1 field of F0911.  Due to size limitations, it is now also stored in CKNU. For display purposes, the data item used for 
Reference1 on this grid is CKNU. 

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
F0911FSEndDoc

F0911FSEndDoc

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function will be used to Add, Change, and/or Delete records from the account ledger file 

(F0911).   Currency conversion will also be done in this module. This module will also update the F0011 batch 

header record if you desire.


Setup Notes and Prerequisites

• Prior to calling EndDoc you must first run BeginDoc which creates the header cache record and 
EditLine which creates detail cache records.  EditDoc should also have been run to insure that the document 

is in balance.  This module will then read in the header cache record and loop through each detail 

cache record to perform updates to the F0911.  Currency conversion will be done prior to doing updates to 

the F0911 if necessary. 

• This module will only be called if using processing mode = '1' (batch mode).  
• This module should be called asyncronously from the ok button clicked processing done event.
• Adds, Updates, and Deletes must be suppressed if using a GUI screen with a grid.  
'b7'b7'b7'b7'b7'b7'b7'b7 

Special Logic

• If the document number is blank at this point then a next number will be assigned.  This next number 
will be based on the system code and index sent over in the parms.  If they are left blank then 

system code will default to 09 if trans type = 'J', 04 if trans type = 'V', or 03 if trans type = 'I'. If 

the index is 0 then 2 will be defaulted.

• If there was a change to the header of the document we must first make those changes along with 
detail record changes to all existing F0911 records and then add any new records.

• When doing currency conversion this module will look at the currency mode written in the header 
cache record to determine which side of the entry to calculate.  For example, if you have 100 in the 

foreign amount field (ACR) and 50 in the domestic amount (AA) but your currency mode is 'F' the 50 in the 

domestic amount field (AA) will be set to 0 and recalculated based on the 100 in the foreign amount 

field (ACR).  NOTE: A flag has been added (cBypassCurrencyConv) which will bypass the currency conversion 

logic and write the values which were passed in the domestic amount field and the foreign amount 

field in the EditLine module.

• This module also calls the routine Batch Revise on Transaction Commitment to update the batch header 
file (F0011).

'b7'b7'b7'b7'b7'b7'b7'b7


Technical Specification

• Retrieve header cache record.
• If the document number is zero then assign document number from next numbers. 
• Get the audit information to write to all records being written/update.
• If a field in the header has changed then use the key to the F0911 found in the header file and 
update all existing F0911 records.  If CMS is on then also call the tag file server (B0900095) to update 

tag file (F0911T) records as well. 

• Lloop through the detail cache and add/update/delete the appropriate F0911 record based on the 
action code.  If CMS is on then also call the tag file server (B0900095) to add/update/delete tag file 

(F0911T) records as well.

• Call Batch Revise on Transaction Commitment function and update the amounts if needed.
• Clear the header and detail cache records. 
'b7'b7'b7'b7'b7'b7'b7'b7


Data Structure

D0900049D - F0911 - FS End Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberMATH06MATH_NUMERICNONENONE

Special Input Expected
Pass Job Number retrieved in BeginDocument.

^

szComputerIDCTIDcharNONENONE

Special Input Expected
The value passed in the field will be written to the audit information in the F0911 in field GLJOBN.  

  ab 


^

cErrorFlagEV01charNONENONE

Special Output Returned
This flag returns a value indicating the status of the call to EndDocument.


Significant Data Values

' ' = No Errors

'1' = Warning

'2' =  Errorab 


^

mnBatchNumberICUMATH_NUMERICNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). This parameter is the batch number to be used for batch update.


^

szBatchTypeICUTcharNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). This parameter is the batch type to be used for batch update.

^

cPrevBatchStatusISTcharNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). This is the status to set batch header back to.  This status was passed to the 

application during Batch Open On Initialization, and should be passed back to Batch Revise On Transaction 

Commit if you want to set the batch status back to it's original status.


^

cBatchStatusEV01charNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). This is the status to set batch header back to.  This is used in conjunction with 

the Previous Batch Status field.  If a '1' is passed, the batch header's status will be set to 

whatever is passed in the Previous Batch Status parameter.  If a '2' is passed the batch header's status will 

be set to 'E' BATCH_STATUS_ERROR.  If anything other than a'1' or a '2' is passed, the batch status 

will be set to what is set up in the Constants file (F0009).


cDocInBalanceEV01charNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). If a '1' or a 'Y' is passed to this parameter, 'Y' will be entered into the BALJ 

field of the F0011 file.  If anything other than '1' or 'Y' is passed, 'N' will be entered in the BALJ 

field of the F0011 file.


^

cSuppressBatchControlEV01charNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). This parameter is used to suppress the execution of Batch Control.  If '1' is 

passed, Batch Control WILL NOT execute in this function call.  Only pass a '1' if you are sure you do not 

want to see the Batch Control program execute.  If anything other than a '1' is passed, the Consents 

file (F0009) is read to determine if the system is set up to require Batch Control or not.


cExitedOnAddEV01charNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). If a '1' is passed in this parameter and Suppress Batch Control 'b9 '1' this 

function will call Batch Control after the batch has been processed.

^

cOverrideModeEV01charNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). This parameter was originally designed to override LpBhvrCom's iBobMode.  Now used 

strictly as a Batch Processing Mode.  MUST have a valid value passed.  Valid values are : 'A' - Add, 

'C' - Change, 'D' - Delete, or 'V' - Void.


Significant Data Values

'A' - Increments Batch Document Number by 1.

      Adds Transaction Amount to Batch Amount.

'C' - Subtracts Transaction Amount Previous from Batch Amount

      Adds Transaction Amount to Batch Amount.

'D' - Decrements Batch Document Number by 1.

ab    Subtracts Transaction Amount Previous from Batch       Amount.

'V' - Subtracts Transaction Amount Previous from Batch             Amount.


mnStartingDocAmountAAMATH_NUMERICNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). This parameter is to be used only if the calling application/function needs to do 

All-At-Once processing.  This is when a large number of documents need to processed and calling the 

BatchReviseOnTransactionCommit causes performance slow down due to having to update the batch header one 

document at a time.  If this value is left blank, the function will increment the batch documents 

column in the F0011 by 1.  If there is a value in this parameter greater than 0, the batch documents 

column will be updated with that value.

^

cCurrencyFlagCRYRcharNONENONE

Special Input Expected
This flag needs to be loaded with the system value set in the general constants. Y, N or Z.

^

mnNextNumberIndexMATH06MATH_NUMERICNONENONE

Special Input Expected
This is used to override the next number index used to assign the document number.

^

szNextNumberSystemcodeSYcharNONENONE

Special Input Expected
This is used to override the next number system code used to assign the document number.  If this is 

left blank then the system code will be assigned according to the type of document  being entered 

(type entered in cTypeDoc  parameter).ab 

^

cTypeOfDocumentEV01charNONENONE

Special Input Expected
This is the transaction type of the document.


Significant Data Values

'I' = Invoice

'V' = Voucher

'J' or ' ' = Journal Entry (default) 



^

mnDocNumberDOCMATH_NUMERICNONENONE

Special Input Expected
This is used to assign the document number to the F0911 records being written.   If this field is 

blank then we will call next numbers and assign the next available document  number.ab 



^

szProgramIDPIDcharNONENONE

Special Input Expected
This is the program id written in the audit information in the F0911.  This should be filled in with 

the program id of the application calling the functional server.  ab 


^

szUserIDUSERcharNONENONE

Special Input Expected
This is user id written in the audit information in the F0911.  This value is retrieved from the 

business function  GetAuditInfo.ab 


^

cUpdateBatchHeaderEV01charNONENONE

Special Input Expected
This flag allows you to determine if the batch record is to be updated by the functional server.


Significant Data Values

'1' = Update

' ' = Do Not Update


^

cBypassCurrencyConvEV01charNONENONE

Special Input Expected
This flag is used to bypass doing the currency conversion even if there is an exchange rate.  Instead 
we will write the amounts passed into the mnAmount and mnCurrencyAmount in EditLine.


Significant Data Values

'1' = bypass

' ' = do currency conversion

^

cConfigHubTransactionTypeEV01charOPTBOTH

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

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
F0911FSGetNextDocNumber

F0911FSGetNextDocNumber

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description
This business function is used to go out to next numbers and get the next available document number 

to be used for the journal entry being created.


Purpose

The purpose of this business function is to allow the user to run the EndDoc module in asynchronous 

mode.  Because the EndDoc module passes back the document number assigned when it is zero we were 

unable to run EndDoc in async mode and still display the previous document number.  This module should be 

called in line on the OK button clicked processing done event prior to calling EndDoc.


Setup Notes and Prerequisites


Special Logic

The next number will be based on the system code and index sent over as parameters.  If they are left 

blank then the system code will default to 09 if the trans type = 'J', 04 if the trans type = 'V', 03 

if trans type = 'I'.  If the index is 0 then 2 will be defaulted.  As we go out to next numbers we 

also validate that the key to the document is not already being used.



Technical Specification

• Read in Header Cache Record to get the key company, document type, g/l date, and ledger type.  These 
fields will be used validate the next number assigned.

• Read in Detail Cache Record to retrieve century and fiscal year.  These will be used to assign the 
next document number.

• Go out to next numbers and get the next available document number.
• While the document already exists in the F0911
• • 

Go out to next numbers and get the next available document number.
• 
• Update the document number assigned to the header cache record. 
• 

Data Structure

D0900049J - F0911 - FS GetNextDocNumber

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICNONENONE

Special Input Expected
Pass in the job number returned from  BeginDocument.ab 


^

cErrorFlagEV01charNONENONE

Special Output Returned
Returns a value indicating the status of the function.


Significant Data Values

' ' = No Errors 

'1' = Warning 

'2' =  Errorab 


^

mnNextNumberIndexMATH01MATH_NUMERICNONENONE

Special Input Expected
This is used to override the next number index used to assign the document  number.ab 


^

szNextNumberSystemCodeSYcharNONENONE

Special Input Expected
This is used to override the next number system code used to assign the document  number.ab 


^

cTypeOfDocumentEV01charNONENONE

Special Input Expected
This is the transaction type of the document.


Significant Data Values

'J' or ' ' = Journal Entry (default)

'I' = Invoice

'V' = Voucher


^

mnDocNumberDOCMATH_NUMERICNONENONE

Special Output Returned
This parm will hold the document number assigned by next numbers if passed in as  zero.ab 


^

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
F0911FSSummarizeDoc

F0911FSSummarizeDoc

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description
This business function is used to summarize detail cache records prior to having them written to the 

F0911 through EndDoc.


Purpose

The purpose of this business function is to allow the user to summarize all records in the detail 

cache matching the job number passed in as a parameter.  The cache records will be summarized by the 

following fields: 

AID, SBL, SBLT, ASID, ABT1, ABR1, ABT2, ABR2, ABT3, ABR3, ABT4, ABR4, ITM.

 

Setup Notes and Prerequisites

Only records matching the job number will be summarized.


Special Logic

When we summarize, several records could possibly be merged together with other records.  This could 

cause holes to be created in the line numbers.  We have written this module to renumber the lines 

which will eliminate these holes.  We will also pass back the last line number used.


Technical Specification

Loop through detail cache records matching the job number.

See if the record already exists in the summarized cache matching key: 

AID,SBL,SBLT,ASID,ABT1,ABR1,ABT2,ABR2,ABT3,ABR3,ABT4,ABR4,ITM

if the record exists in summarized cache then accumulate amounts and update summarized cache.

if the record doesn't exist in summarized cache then assign a new line number and add it to 

summarized cache.   

Clear out detail cache

Loop through summarized cache and add records back into detail cache

Load the last line number used and pass it back to calling program.   



Data Structure

D0900049I - F0911 - FS Summarize Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICNONENONE

Special Input Expected
Pass the job number returned from BeginDocument of the cache you want summarized  .ab 


^

mnLastLineNumberJELNMATH_NUMERICNONENONE

Special Output Returned
Will return the last line number used after summarizing the  detail cache  records.ab 


^

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
F0911FSValidateDocNumber

F0911FSValidateDocNumber

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function will be used validate that the key to a document being added is not already used for an 

existing document in the account ledger file (F0911).  A '1' will be passed back in the 

cRecordExistsFlag parameter if a record is found in the F0911 with the existing key. 


Setup Notes and Prerequisites


Special Logic

This function will check to see if a zero has been passed in the JELineNumber parameter.  If a zero 

has been passed then a key using only doc type, doc number, key company, gl date, ledger type, and line 

extension will be used.


Technical Specification

• Use the parameters passed to load the keys to the F0911 to do the existence check.
• If the JELineNumber parameter is zero then used only six of the keys, otherwise use all 7 keys.
• Do a Fetch on the F0911.
• If a record is found then return a '1' in the cRecordExistsFlag. 





Data Structure

D0900049F - Validate JE Document Number

Parameter NameData ItemData TypeReq/OptI/O/Both
szDocumentTypeDCTcharNONENONE

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 

mnDocumentNumberDOCMATH_NUMERICNONENONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szKeyCompanyKCOcharNONENONE

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

jdGLDateDGJJDEDATENONENONE

A date that identifies the financial period to which the transaction will be posted. You define financial periods for a date pattern code that you 
assign to the company record. The system compares the date that you enter on the transaction to the fiscal date pattern assigned to the 
company to retrieve the appropriate fiscal period number, as well as to perform date validations.

szLedgerTypeLTcharNONENONE

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

szLineExtensionEXTLcharNONENONE

Line Extension Code

mnJELineNumberJELNMATH_NUMERICNONENONE

Special Input Expected
Line Number of the record being added.  If this parameter is zero a smaller key will be used for the 

existence  checkab 


^

cRecordExistsFlagEV01charNONENONE

Special Input Expected
This flag is used to return the results of the fetch against the F0911 with the key values passed in 

as parameters.


Significant Data Values

' ' = record does not exist 

'1' = record exists  ab 



^

cModelFlagEV01charOPTNONE

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

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
F0911FSVoidDoc

F0911FSVoidDoc

Journal Entry

Master Business Function

Object Name: B0900049

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of this business function is to allow the user to void a posted or unposted general 

ledger transaction.  The trnasaction can be voided on the same date as the original transaction or on a 

different date.  This function will call VoidJournalEntry (B0900026) which writes the reversing entries 

to the F0911.  The batch header file (F0011) will also be updated if desired. 


Setup Notes and Prerequisites

• In order to void a transaction, the key to the transaction needs to be acquired and passed over in 
the parameters.  These keys include: Document Type(DCT), Document Number(DOC), Key Company(KCO), G/L 

Date(DGJ), and Ledger Type(LT).

•  You need to decide if this business function should be responsible for updating the batch header or 
if the application will do the updates.  If you wish to bypass all the batch header updates in this 

business function then a '1' must be passed in the Mode parameter.  Also, with a '1' in the mode field 

any transactions that are unposted and are to be voided will be deleted rather than a reversing entry 

written.

•  The transaction being voided can be voided on a different G/L date than the date of the original 
transaction.  The void date must be filled in, if it is left blank it will not be defaulted in.    

•       
Special Logic

The "cMode" parameter was added to the Void Journal Entry business function because the Journal Entry 

application reacts a bit differently then A/R and A/P when voiding F0911's.  In Journal Entries if 

the transaction is unposted, the void business function still to writes the reversing record.  Also, the 

batch header needs to be updated by the business function.  A/R and A/P on the other hand delete 

unposted transactions and need to handle the batch header updates through the appropriate application.  

Therefore A/R and A/P need to pass a '1' in the "cMode" parameter.        



Technical Specification

• Load parameters to call the Void Journal Entry business function (B0900026).  
• Call the Void Journal Entry business function.   
• 

Data Structure

D0900049H - F0911 - FS Void Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
szDocumentTypeDCTcharNONENONE

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 

mnDocumentNumberDOCMATH_NUMERICNONENONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szDocumentCompanyKCOcharNONENONE

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

jdGLDateDGJJDEDATENONENONE

A date that identifies the financial period to which the transaction will be posted. You define financial periods for a date pattern code that you 
assign to the company record. The system compares the date that you enter on the transaction to the fiscal date pattern assigned to the 
company to retrieve the appropriate fiscal period number, as well as to perform date validations.

jdVoidDateDGJJDEDATENONENONE

Special Input Expected
Date transaction will be voided  on.ab 

^

cModeEV01charNONENONE

Special Input Expected
This parameter is used to determine if we reverse or delete unposted entries as well as whether or 

not we update the batch header (F0011).


Significant Data Values

'1' - Delete unposted entries and do not update the batch header.

'2' - Do not delete unposted entries and do not update the batch header record 

' ' - Do not delete unposted entries and update the batch header.





^

szLedgerTypeLTcharNONENONE

Special Input Expected
Part of key to document being voided. Note - when voiding a foreign entry to the 'AA' ledger the 'CA' 

entries will be voided  also.ab 


^

cCurrencyFlagCRYRcharNONENONE

Special Input Expected
Value of the currency conversion flag set to Y, Z or N in the General Accounting  Constants.ab 


^

cPaymentInstrumentPYINcharOPTNONE

A user defined code (00/PY) that determines the means by which a payment is issued to a supplier or received from the customer. 
Examples of payment instruments include check, electronic funds transfer, lockbox, and EDI.

szInteropVersionVERcharOPTNONE

Identifies a specific set of data selection and sequencing settings for the application. Versions may be named using any combination of 
alpha and numeric characters. Versions that begin with 'XJDE' or 'ZJDE' are set up by J.D. Edwards.

Related Functions

B0000007 Batch - Revise On Transaction Commitment
B0000021 Format Subledger
B0000026 Edit Exchange Rate Tolerance
B0000028 CurrencyConvSftRound
B0000033 Get Exchange Rate
B0000108 Post Edit Code Edit
B0000128 Retrieve Company Currency Code
B0900018 F0911 - FS - Retrieve Current Time
B0900026 Void Journal Entry
B0900031 Delete G/L Transaction From F0911
B0900037 Validate - Delete JE Document
B0900038 Edit Business Unit Posting Edit Code
B0900080 F4008 - Get GL Tax Account
B1100014 Decimal Trigger Get By LT CRDC CRCD
B9800100 Get Audit Information
N7000090 B0900049 - Plug & Play - 09
X00TAX Calculate and Edit Tax Amounts
X0903 Fiscal Date Edits +
X0909 Validate Subledger
XX0901 Validate Account Number

Related Tables

F0018 Taxes
F0025 Ledger Type Master File
F0911 Account Ledger
y:Courier New;font-size:10pt">

cExitedOnAddEV01charNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). If a '1' is passed in this parameter and Suppress Batch Control 'b9 '1' this 

function will call Batch Control after the batch has been processed.

^

cOverrideModeEV01charNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). This parameter was originally designed to override LpBhvrCom's iBobMode.  Now used 

strictly as a Batch Processing Mode.  MUST have a valid value passed.  Valid values are : 'A' - Add, 

'C' - Change, 'D' - Delete, or 'V' - Void.


Significant Data Values

'A' - Increments Batch Document Number by 1.

      Adds Transaction Amount to Batch Amount.

'C' - Subtracts Transaction Amount Previous from Batch Amount

      Adds Transaction Amount to Batch Amount.

'D' - Decrements Batch Document Number by 1.

ab    Subtracts Transaction Amount Previous from Batch       Amount.

'V' - Subtracts Transaction Amount Previous from Batch             Amount.


mnStartingDocAmountAAMATH_NUMERICNONENONE

Special Input Expected
This parameter is used in calling Batch-Revise on Transaction Commit.  This parameter is only needed 

if you have decided to let EndDocument update the batch header record (placed a '1' in the 

cUpdateBatchHeader parameter). This parameter is to be used only if the calling application/function needs to do 

All-At-Once processing.  This is when a large number of documents need to processed and calling the 

BatchReviseOnTransactionCommit causes performance slow down due to having to update the batch header one 

document at a time.  If this value is left blank, the function will increment the batch documents 

column in the F0011 by 1.  If there is a value in this parameter greater than 0, the batch documents 

column will be updated with that value.

^

cCurrencyFlagCRYRcharNONENONE

Special Input Expected
This flag needs to be loaded with the system value set in the general constants. Y, N or Z.

^

mnNextNumberIndexMATH06MATH_NUMERICNONENONE

Special Input Expected
This is used to override the next number index used to assign the document number.

^

szNextNumberSystemcodeSYcharNONENONE

Special Input Expected
This is used to override the next number system code used to assign the document number.  If this is 

left blank then the system code will be assigned according to the type of document  being entered 

(type entered in cTypeDoc  parameter).ab 

^

cTypeOfDocumentEV01charNONENONE

Special Input Expected
This is the transaction type of the document.


Significant Data Values

'I' = Invoice

'V' = Voucher

'J' or ' ' = Journal Entry (default) 



^

mnDocNumberDOCMATH_NUMERICNONENONE

Special Input Expected
This is used to assign the document number to the F0911 records being written.   If this field is 

blank then we will call next numbers and assign the next available document  number.ab 



^

szProgramIDPIDcharNONENONE

Special Input Expected
This is the program id written in the audit information in the F0911.  This should be filled in with 

the program id of the application calling the functional server.  ab 


^

szUserIDUSERcharNONENONE

Special Input Expected
This is user id written in the audit information in the F0911.  This value is retrieved from the 

business function  GetAuditInfo.ab 


^

cUpdateBatchHeaderEV01charNONENONE