One foreign-currency position on a Currency Revaluation run, such as a bank balance, a receivable or a payable, identified by its ledger account and, for receivables and payables, the counterparty. The line records the foreign amount, the base amount already carried in the ledger, the closing rate, the restated base amount, and the change between the last two. Lines are written by the platform's revaluation calculation when it builds a run. They are not shown in any seeded app, and no button on any screen builds a run, adds lines or posts one. If you create or edit a line by hand, nothing calculates its amounts: Revalued Base Amount and Gain Loss keep whatever you type, and the line reaches the ledger only when its run is posted. Posting skips lines that have no GL Account or a zero Gain Loss.
Fields
| Field | Label | Type | Required | What it does |
BookedBaseAmount | Booked Base Amount | Currency | | What the position is currently carried at in the base currency, which is the figure already in the ledger. It is the baseline the change is measured against and is never recalculated. Rounded to two decimals. |
ClosingRate | Closing Rate | Currency | | Rate from the line's currency to the run's base currency on the revaluation date, taken from the run's Rate Type. The latest active exchange rate on or before that date is used; if only the reverse pair exists, its inverse is used. Stored to eight decimals. Building a run fails with a 'No exchange rate found' error when neither pair has a rate. |
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created Date | DateAndTime | Yes | |
Currency | Currency | Text | | Currency code of the position, such as USD. When it equals the run's base currency the rate is 1 and the line has no change. |
CurrencyRevaluationId | Currency Revaluation | Lookup → CurrencyRevaluation | | The revaluation run this line belongs to. |
ForeignAmount | Foreign Amount | Currency | | The open balance of the position in its own currency, before restatement. Rounded to two decimals. |
GainLoss | Gain Loss | Currency | | Revalued Base Amount minus Booked Base Amount: the change in the position's carrying amount, not a gain or loss sign. A positive value is a gain on a debit-natured account such as a bank or receivable, but a loss on a credit-natured account such as a payable, because the liability grew. Posting reads the GL Account's type to decide the direction. Lines with zero are skipped when the run is posted. |
GLAccountId | GL Account | Lookup → GLAccount | | Ledger account that holds the position, usually a foreign-currency bank, receivable or payable account. Posting adjusts this account by the line's Gain Loss: it is debited when the carrying amount of an asset rises and credited when a liability rises. A line without a GL Account is skipped when the run is posted. |
Id | Id | Guid | Yes | |
LineNumber | Line Number | Number | | Order of the line within its run. Lines are numbered 1, 2, 3 when the run is built and are posted in this order. |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Name | Text | Yes | Line identifier. A document name setting with the default series CRL is seeded for lines. |
OwnerId | Owner | Lookup → UserAccount | Yes | |
PartnerAccountId | Partner Account | Lookup → Account | | Company the line belongs to. It is copied from the run. |
PartyAccountId | Party Account | Lookup → Account | | Customer or vendor whose open balance is restated. It is set on receivable and payable positions and left empty for bank positions. When the run is posted it is carried onto the journal line, so the adjustment appears on that party's ledger. |
RecordTypeId | Record Type | Guid, hidden | | |
RevaluedBaseAmount | Revalued Base Amount | Currency | | Foreign Amount multiplied by Closing Rate and rounded to two decimals, which is what the position is worth in the base currency on the revaluation date. It is calculated only when a run is built and is not recalculated if you edit the line. |
UIProps | UI Props | Text | | |
UpdatedDateTime | Modified Date | DateAndTime | Yes | |
Actions
| Action | Label | Type | What it does |
Clone | Clone | ServerAction (Clone) | Create a copy of this record |
New | New | New | New |
NewInline | New | NewInline | New |