I'm writing an extension which adds a table/object with characteristics similar do objects like Sales Invoice, Purchase Invoice etc. in the sense that they have a child table/lines table.
From what I have learn't so far, I'm thinking of adding a table, for this Document, then another one for the Lines which will have a One-to-Many relation with the main Document. Now the issue I have is, I can't find a demonstration or docs on having the lines on the same page with the main Doc.
Any input/refs will be greatly appreciated.