web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Active buffer required

(0) ShareShare
ReportReport
Posted on by

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.

I have the same question (0)
  • Blue Wang Profile Picture
    on at

    Hi Zymantas,

    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.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    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.

  • Blue Wang Profile Picture
    on at

    Hi Zymantas,

    Please refer this :mansoorgee.blogspot.com/.../dynamics-ax-form-requires-active-buffer.html

  • Community Member Profile Picture
    on at

    My form's init method look that:

    public void init()

    {

       ConFMSVehicleTable callerVehicle;

       super();

       switch(element.args().dataset())

       {

           case tableNum(ConFMSVehicleTable):

               callerVehicle =element.args().record();

               break;

       }

       if(callerVehicle.RecId == 0)

       {

           throw error("@SYS79604");

       }

       contract = ConFMSVehicleGroupChangeContract::construct();

       contract.vehicleId(callerVehicle.VehicleId);

       contract.vehicleGroupId(callerVehicle.VehicleGroupId);

    }

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    As you can see, you need to provide a record of ConFMSVehicleTable, otherwise the form can't be opened.

  • Community Member Profile Picture
    on at

    As I understood I should insert new record ConfFMSVehicleTable table, right?

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    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.

  • Community Member Profile Picture
    on at

    I have inserted some records and form still not valid to open. It has no relations with others forms. CONFMSVehicleTable has several records.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    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!

  • Community Member Profile Picture
    on at

    My init code: public void init()

    {

       ConFMSVehicleTable callerVehicle;

       super();

       switch(element.args().dataset())

       {

           case tableNum(ConFMSVehicleTable):

               callerVehicle =element.args().record();

               break;

       }

       if(callerVehicle.RecId == 0)

       {

           throw error("@SYS79604");

       }

       contract = ConFMSVehicleGroupChangeContract::construct();

       contract.vehicleId(callerVehicle.VehicleId);

       contract.vehicleGroupId(callerVehicle.VehicleGroupId);

    }

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans