Dear experts
how to read the data from one page to another page of respective field using vs code (extension code) in d365bc cloud ?if anyone know about this please provide vs code here

Dear experts
how to read the data from one page to another page of respective field using vs code (extension code) in d365bc cloud ?if anyone know about this please provide vs code here
This is pure AL code: write a code that from the current record in page 1 (Rec) retrieves the related records from table 2 by applying the right filters.