Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

How to get the child table records?

$
0
0

Hi All,

I can get the parent table record from child table record like

purchline.purchtable();

But, how to get the child record, in our case how to get the purchline for the selected purchid.

I am using below method

purchline localpurchline;

select * from localpurchline where localpurchline.purchid == purchtable.purchid;

 

Is there any other idea to get the child records for the selected parent record.

 

Thanks,

Hari


Viewing all articles
Browse latest Browse all 9880

Trending Articles