PostByCurrencyDetermine

Post By Currency Determine

Major Business Rule

Object Name: B0000157

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose

This business function is used in R09415 "Monetary Account Valuation"  to determine whether to 

retrieve account balances by currency.


Special Logic

A value of 'Y' will be returned in the AccountBalanceByCurrency flag for an F0901 account if (the 

account is a monetary account with a currency code) or (if the corresponding company's post by currency 

mode is '1' and the account falls within the AAI range for PBC01 - PBC98).  Otherwise, the value of 'N' 

will be returned.



Technical Specification


Processing

• Set "Retrieve Account Balance by Currency" Flag to "NO"
• If F0901 account has currency code
• Set "Retrieve Account Balance by Currency" Flag to "YES"
• Else (when account currency code is blank)
• If company's "Post by currency" flag is on
• Call external function "F0012 Get AAI Range of Accounts"
• Call external function "AAI Range of Accounts Compare"
• If account falls within the PBC range in AAI's
• Set "Retrieve Account Balance by Currency" Flag to "YES"
• Exit
^

Data Structure

D0000157 - Post By Currency Determine

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

szObjectAccountOBJcharNONENONE

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.

szAccountCurrencyCodeCRCDcharNONENONE

A code that identifies the currency of a transaction. 

cCompanyPostByCurrencyABINcharNONENONE

An option that specifies whether the system should post records for a company by currency in the Account Balances table (F0902). The 
system uses the account ranges specified in AAI item PBCxx to post account balances by currency. 

cAccountBalanceByCurrencyEV01charNONENONE

A value of 'Y' will be returned in this flag for an account which either has a currency code in the 
F0901 table OR falls within the AAI range of PBC01-PBC98 for a company with the post by currency flag 

turned on.

^

Related Functions

B0000115 AAI Range Of Accounts +

Related Tables

None