Creating a Look up For the Reference Group In Ax 2012

Hi All,

In our Project ,We have Header and details Form ,Depends upon the Header Value(Department value). In the Details Grid ,Job lookup will work depends upon the Header(deparment Value). But unable to write the code for lookup for the Reference group.

As I am New to Dynamics Ax 2012 ,I dont know How to write the lookup method for the referenece grop.Please Help Some Examples With Briefly

Thanks In Advance

Override the lookupReference() method and implement it in the way described in How to: Add a Lookup Form to a Control [AX 2012].

You can have an example from below location in AOT.

Forms → SalesTable → DataSources → SalesTable → Fields → DeliveryPostalAddress → lookupReference method.