What is the use of FormRef property of a table?

Knowledge: What is the use of FormRef property of a table?

1) As the name suggest FormRef; that actually means reference to a form.



2) FormRef property on the table to determine which form should be opened (a menu item can be specified there pointing the required form).
3) The interesting fact is that even if FormRef is not specified on the table AX will still try to open some form. Actually AX will look for display menu item which has the name equals to the table name.
4) Frustrating part is that if such menu item does not exist the warning will be shown when user click on view details.

Note: Warning will be like that: “No object specified on menu item table_name”.

Author:
Chirag Gupta
Microsoft Dynamics 365 AX Technical Consultant at IBM Bengaluru

Date:
07-Feb-2018

Happy Learning !!

Comments

Popular posts from this blog

[Solved] : Error: String or binary data would be truncated. Cannot execute a data definition language command on Vendor (VendLedgerReconciliationTmp)

AX 2012 - Command prompt compilation / AxBuild.exe for Parallel Compile on AOS of X++ to P-code / Parallel Compilation

AX 2012 - How to send SSRS report in email as an attachment using X++

AX 2012 - How to stop AOS when services got stuck at stopping status

AX 2012 - How to make a form field mandatory

Error: There was no endpoint listening at net.tcp://your_server_name:8201/Dynamics AX/Services…

Fetch vendor address using X++ in AX 2012

AX 2012 - How to print current date and time on SSRS Report

[Error] - Error in unit of amount in currency KES. Must be rounded to 0.01 | The unit of 37.563.5343100000000000 KES being posted to account 32710001-- is outside the current penny rounding threshold | Posting has been canceled

[Solved] : AX 2012 - No connection could be made because the target machine actively refused it 192.168.10.249:8201