RetrieveAndValCurrGnLsAcct

Retrieve And Validate Currency GN/LS Acct

Minor Business Rule

Object Name: B0400050

Parent DLL: CFIN

Location: Client/Server

Language: C

This business function will find  the AAI for currency code and company  from the F0012.  From F0012 
MCU, OBJ and SUB can be retrieved.  Then validate the account number by using, as the key, MCU, OBJ 

and SUB in the F0901.  From the F0901, the bank company number can be retrieved.  Then retrieve the 

currency of the bank company and compare to see if the voucher currency and the bank company currency are 

equal.

^

Data Structure

D0400050 - Retrieve And Validate Currency GN/LS Acct

Parameter NameData ItemData TypeReq/OptI/O/Both
szCurrencyPaymentCRCDcharNONENONE

A code that identifies the currency of a transaction. 

szCOCurrencyPaymentCRDCcharNONENONE

A code that identifies the domestic (base) currency of the company on a transaction. 

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.

szCostcenterMCUcharNONENONE

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.

Related Functions

B0000128 Retrieve Company Currency Code

Related Tables

F0012 Automatic Accounting Instructions Master
F0901 Account Master