Goal: I aim to establish a connection between the Twinfield.Views.GeneralLedgerAccountMappings@tfd (1) table and the Twinfield.Views.GeneralLedgerAccountMappingAccounts@tfd (2) table from Twinfield.
Problem: The Account Mappings Tables from Twinfield no longer include the company code field, hindering my ability to link the ledger to hierarchies effectively.
Request: can the field for the company code be re-added to tables (1) and (2)?
After connecting the two account mapping tables, I want to further link the account mapping to the ledger table: Twinfield.Twinfield.FinancialDimensions@tfd. The Twinfield.Views.GeneralLedgerAccountMappingAccounts@tfd contains the linked general ledger account codes per HIERARCHYELEMENTID.
The account code itself is not unique; it is only unique within one administration/company code. Without the company code, the account code is ambiguous, and I cannot exactly determine which general ledger account is being referred to.
Based upon data, the factor “company” seems irrelevant for the hierarchy and it’s elements. The match between General Ledger Account and Hierarchy is done by matching on equal code. No database relationship can be found.
For instance, a hierarchy tree which includes 14 accounts starting with “020” can be used on a Twinfield company with no or solely one GL account in the “020”-range.
In case of a database relationship the hierarchy tree could not include the accounts which don’t exist in the Twinfield company.
It is recommended to reach out to the Twinfield application administrator for clarity. Please add a link to the Twinfield documentation if necessary in case there is a documented database relationship.
A test was executed on an environment with a single company. Query 1 selects a random company (of the 1 available) and query 2 selects all companies (of the 1 available).
Both return the same results:
select *
from GeneralLedgerAccountMappingAccounts
select *
from GeneralLedgerAccountMappingAccountsTEST
The TEST-view is a temporary addition. For Invantive it is not possible to analyze the working due to lacking documentation and no access to a test environment which displays the behaviour (Twinfield offers no access to partners to the Hierarchy setup).
In case any user has a (test) environment that displays the problem and for which credentials (user name, password, environment code) can be provided we will be happy to look into it.
In GeneralLedgerAccountMappingAccounts we are also missing general ledger accounts from our Twinfield administration. I would expect GeneralLedgerAccountMappingAccounts contains all general ledgers of all administrations? What is the solution for this problem
The problem can not be analyzed nor reproduced due to lack of a representative test environment (not available for Twinfield developers) or production environment.
Awaiting access, the view GeneralLedgerAccountMappingAccounts has been made unavailable.
Thanks to @mvk an reproduction scenario was made available. The next release of Invantive Cloud (scheduled for deployment within 24 hours) will include a new version of GeneralLedgerAccountMappingAccounts that addresses the issue for them.
The necessary changes will also be available in release 24.0.126 and newer of Invantive UniversalSQL.
This question was automatically closed after at least 1 week of inactivity after a possible solution was provided. The last answer given has been marked as a solution.
Please ask a new question via a separate topic if the problem occurs again. Please include a link to this topic in the new question by pasting its URL into the text.