Dear All,
I'm new to developing in Dynamic 365 Business Central, i have build a new page of type Document to manage data entry for 2 tables having one to many relation, something similar to Sales Order document.
I added part control in the form in order to display details from the child table in a List part page, the sub page displays rows filtered based on parent table primary key.
the problem is while adding new line in the sub page, i must manually select foreign ID from the lookup otherwise error occurred, how to make this field automatically populated based on the primary key of parent table.
regards,