Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | All TechTalks
Hi. I have a problem when I am trying open the form I got this error - "Active buffer required". Any ideas. Working with Microsoft Dynamics 2012 R3.
What form are you opening?
It needs to pass records.
It should be a subform that generally jumps through other forms and carries the record.
You can look into the init method of the form. There you will find the check that throws this error. The form is designed to be opened by passing a record (buffer) into it.
By the way, please use only relevant tags in your question. Seems you have now selected many unrelevant tags, such as "Administration and Setup", "Connector for CRM", "Enterprise Portal" and many more.
Please refer this :mansoorgee.blogspot.com/.../dynamics-ax-form-requires-active-buffer.html
My form's init method look that:
public void init()
if(callerVehicle.RecId == 0)
contract = ConFMSVehicleGroupChangeContract::construct();
As you can see, you need to provide a record of ConFMSVehicleTable, otherwise the form can't be opened.
As I understood I should insert new record ConfFMSVehicleTable table, right?
Not necessarily. But you need to have a record in that table, and send that record to this form when you open this form.
This form is designed to work with a vehicle record.
I can guess that you have a button that opens this form. This button is on some other form, where you have a list of vehicles. Is this correct? If yes, the button group on the vehicle form should have property DataSource set to point to the vehicle table data source.
If you still have problems, please share more information about these forms, and your business requirement.
I have inserted some records and form still not valid to open. It has no relations with others forms. CONFMSVehicleTable has several records.
Did you read my previous post?
It's not about having data in that table, it's about providing one record from that table when you open the form! The form can only be opened if you provide a context for a single record in the vehicle table.
Please read through the given replies one more time.
Also, if this form was developed in your company, perhaps you could ask your colleagues if you still feel you need some help. Or, at least share with us your business requirement and the purpose of this form. Thanks in advance!
My init code: public void init()
Yes, we saw that code already.
Do you understand what the code does, after reading our replies to your question?
It request to data table for records. When put cursor on throw error("@SYS79604"); it shows active buffer required. Maybe it means that label is wrong of object?
No, the label is ok. This form is supposed to be opened only with an active buffer. Then it uses this buffer to initialize ConFMSVehicleGroupChange class for that vehicle.
Could you please answer my previous questions? Otherwise it's impossible for me to help you and I can't contribute to this discussion anymore. Also did you try my suggestion to resolve the issue?
Here are the previous questions - and the suggestion how to solve your problem:
"I can guess that you have a button that opens this form. This button is on some other form, where you have a list of vehicles. Is this correct? If yes, the button group on the vehicle form should have property DataSource set to point to the vehicle table data source."
I opening form in click on open right click in project
This form can't be opened directly from AOT. You must open it from the vehicle form with a button. Just like your users do.
This is because you must provide exactly one, selected vehicle record for this form. You can't do such thing from AOT.
Not all forms can be opened from AOT, because they need some context in order to work.
Yes, that's my guess. Otherwise it could not work.
You know your system and these forms, I don't know anything else except what you shared.
I suggest (as I did before) to talk to your colleagues if you need more understanding about the custom forms in your system.
Only you know what custom forms are in your system, and what those forms contain. You have to remember that we don't see in your system. We only know what you tell us.
But if you have a form called ConFMSVehicleTable in your system, it sounds like that could be the one.
Business Applications communities