this is bank account trans form
I have written the code wrongly. I have edited the code. Please check.
Thanks,
Girish S.
DisplayValue field is in DefaultDimensionView that is dimensionView buffer not in accountTrans buffer.
Thanks,
Girish S.
here display value is not found in accounttrans buffer . can you please help
I guess BankAccountTrans table is related to the form you are asking. If yes then below code helps you.
DefaultDimensionView dimensionView; BankAccountTrans accountTrans; while select * from accountTrans join dimensionView where accountTrans.DefaultDimension == dimensionView.DefaultDimension && dimensionView.Name == "BusinessUnit" { info(strfmt("%1,%2,%3",accountTrans.AccountId,accountTrans.Voucher,dimensionView.DisplayValue)); }
Thanks,
Girish S.
Form name is AOT > BankAccountTrans itself then , financial dimension tab
Can you tell me the navigation of the form.
Thanks,
Girish S.
Can you help with exact code it would be really really helpfull
Hi sachin mittal,
Use DefaultDimensionView to get the business unit. DefaultDimensionView contains field named "Name" where you can add "Business unit" as a range.
You can use DefaultDimension field in the view to use as relation.
Thanks,
Girish S.
André Arnaud de Cal...
291,971
Super User 2025 Season 1
Martin Dráb
230,846
Most Valuable Professional
nmaenpaa
101,156