Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Noticed Selected Record through Client

$
0
0

Hi Community,

my Goal is to set a Field called "Status" as "processed".

I have inserted my records.

The last Field of my Table is "Status" and is a ENUM.

Enum:

  1. Ready
  2. Withhold
  3. Error
  4. Processed

When I insert my records in my Table/Form the Status is automatically set to "Ready", which is fine because I programmed it like that.

Now I want to make a new Button (Class).

When I select in the AX Client one or more records and then press that Button, I want a Dialog to pup up and when I click "Ok" These records shall in the Status-Field turn to "Processed".


I have to use RunBase-Class which I did.
I created the main class, Dialog and run Methods.
If You want to see the Code let me know.

My Question is, how does my Button can understand for which record is selected ?
Is there a Special Method ?


With the best wishes

Khashayar


Viewing all articles
Browse latest Browse all 175888

Trending Articles