MGCLatticeCurrencyRevaluationService
Custom service for foreign currency revaluation operations across customer, vendor, and ledger accounts.
Methods
new
Initializes a new instance of the MGCLatticeCurrencyRevaluationService class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeCurrencyRevaluationService class.
- Visibility:
public - Returns:
MGCLatticeCurrencyRevaluationServiceA new MGCLatticeCurrencyRevaluationService instance.
No parameters.
runCustomerRevaluation
Runs foreign currency revaluation for customer (accounts receivable) open balances.
- Visibility:
public - Returns:
MGCLatticeOrderOperationResponseContractAn MGCLatticeOrderOperationResponseContract indicating success or failure with details.
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCLatticeCurrencyRevaluationRequestContract | No | The request containing RevaluationDate, FromDate, and standard header fields. |
runVendorRevaluation
Runs foreign currency revaluation for vendor (accounts payable) open balances.
- Visibility:
public - Returns:
MGCLatticeOrderOperationResponseContractAn MGCLatticeOrderOperationResponseContract indicating success or failure with details.
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCLatticeCurrencyRevaluationRequestContract | No | The request containing RevaluationDate, FromDate, and standard header fields. |
runLedgerRevaluation
Runs foreign currency revaluation for general ledger account balances (LedgerExchAdj) in the request's legal entity: for the requested currency, or else for every currency posted to the ledger in the period, from FromDate (default: the start of the fiscal year of the revaluation date) through RevaluationDate, optionally for a main account range. The standard validation runs first and a failed validation fails the request.
- Visibility:
public - Returns:
MGCLatticeOrderOperationResponseContractAn MGCLatticeOrderOperationResponseContract indicating success or failure with details.
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCLatticeCurrencyRevaluationRequestContract | No | The request containing RevaluationDate, FromDate, CurrencyCode, MainAccountFromId/ToId, and standard header fields. |
runCustomerRevaluationBatch
Runs multiple customer currency revaluations in a single bulk operation.
- Visibility:
public - Returns:
MGCLatticeBulkOperationResponseContractAn MGCLatticeBulkOperationResponseContract containing per-item results.
| Name | Type | Optional | Description |
|---|---|---|---|
_requests | List | No | List of MGCLatticeCurrencyRevaluationRequestContract. |
runVendorRevaluationBatch
Runs multiple vendor currency revaluations in a single bulk operation.
- Visibility:
public - Returns:
MGCLatticeBulkOperationResponseContractAn MGCLatticeBulkOperationResponseContract containing per-item results.
| Name | Type | Optional | Description |
|---|---|---|---|
_requests | List | No | List of MGCLatticeCurrencyRevaluationRequestContract. |
runLedgerRevaluationBatch
Runs multiple ledger currency revaluations in a single bulk operation.
- Visibility:
public - Returns:
MGCLatticeBulkOperationResponseContractAn MGCLatticeBulkOperationResponseContract containing per-item results.
| Name | Type | Optional | Description |
|---|---|---|---|
_requests | List | No | List of MGCLatticeCurrencyRevaluationRequestContract. |