Functional Description
Purpose
This function validates the transaction currency code (passed in) is equal to the account currency
code, equal to the company currency code or if the document type is 'JX'.
Setup Notes and Prerequisites
Special Logic
Technical Specification
Processing
This function reads the Account Master file (F0901) using AID to retrieve company and account
currency code. The Company Constants file (F0010) is then read using CO to retrieve the company currency
code. If the account currency code is not blank, it determines if the transaction currency code (passed
in) is not equal to the account currency code. If not equal, checks if the transaction currency code
is not equal to the company currency code or if the document type is not equal to 'JX'. If either
condition is met, error #0957 is returned.
^
D0000133 - Validate Transaction Currency Code
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szTransCurrencyCode | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
szDocumentType | DCT | char | NONE | NONE |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
szAccountId | AID | char | NONE | NONE |
A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. |
None |
F0010 Company Constants | ||||
F0901 Account Master |