Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Friday, April 25, 2014

Form close method sequence in Dynamic AX

Hi,



Before closing the form i.e at the time of closing 

Close - Calls when we click esc / close.
CloseOK – Calls when we click Commandbutton::Ok
CloseCancel – Calls when we click Commandbutton::Cancel
CloseSelect – close the lookup form, and set return value
CloseSelectRecord – close the lookup form, and set return record

After closing the form following action methods calls,

Closed – calls once form closed
ClosedOK – The form was closed by the user clicking ‘OK’
ClosedCancel – The form was closed by the user clicking ‘Cancel’

canClose() is called before any of the close methods get called.
note: this canClose() will be called twice

Regards,

No comments:

Post a Comment

SQL code to upate one Legal entity banner to all the legal entity in D365

 Hi, update companyimage set  companyimage.Image  = companyimageA.Image  from  ( select Image from companyimage where dataAreaid = 'USF...