
Hello,
I have to create a simple form for mapping purposes. For this purpose, I have created a custom table on which I have a field for ledger dimension (using EDT DimensionDynamicAccount). Note that custom table has saveDataPerCompany set to no. However, I still maintain a DataAreaId for company specific data.
I have also created a relation between my custom table and DimensionValueAttributeCombination as follows :
NESSicoraxPayrollMapping.LedgerDimension = DimensionValueAttributeCombination.RecId
On the form, I have created a segmented entry control for the user to be able to enter the ledger dimensions.
Properties :
The issue I'm having is that my control does not display correct ledger dimensions according to company and that I am getting this weird error regarding AccountType. Is there something I am missing here ? Does accountType need to be passed to this segmented entry ? Shouldn't it be defaulted to Ledger ?
Thank you for your help :)
*This post is locked for comments
I have the same question (0)Update : I have been able to get rid of the error message , it was due to the Account Type Field property of my segmented control which was not set correctly and the incorrect dimension breakdown was due to a master data error ! For future reference, make sure that the account type parameter is correctly passed to the segmented entry control ^^