Announcements
No record found.
I am new Developer in AX2012. I simple Click to Open "Enter Customer Payment " > Form . Below Error are create . I can't find out there solution.
QueryBuildDataSource object not initialized.
Stack trace
(C)\Forms\CustPaymEntry\Methods\init - line 109(C)\Classes\SysSetupFormRun\init - line 3(C)\Classes\FormFunctionButtonControl\Clicked
It seems that a piece of code at line 109 in init() method of CustPaymEntry form is trying to use an QueryBuildDataSource object, but there is no object available - the object reference is empty (null).
That's already quite a lot of information. You can look at code in init() to see which data source it's trying to use and what code is supposed to set the value. You can also put a breakpoint there to see how it behaves at runtime.
I initialized QueryBuildDataSource object and debug code where qbds object used . when debugger reach on line 112 and jump to 113 then again show me these same error.
Realize that the problem is caused by a wrong, and that the debugger can show you values of variables, therefore you'll make your debugging if you start paying attention to this information
If I put a breakpoint at line 112, you'll likely see that qbds contains null. You don't have to continue; it's clear that any attempt to call a method on null will fail.
When you know what's empty, you can start analyzing why. You're trying to get CustLergerTransTypeMapping data source from the query used for CustTransOpen data source. The fact that you get null means that no such a data source exists. For example, you may have a data source in the form, but it's not joined to CustTransOpen.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 694
André Arnaud de Cal... 584 Super User 2026 Season 1
Subra 518