Hi everyone,
I have model-driven application where users fill data's in main form (Table A) and in subrid form (Table B). There is a relation One to Many between these tables. Table A store documents and Table B stores lines of my documents. When users is adding lines in subrid I would like to have a row number of each lines in the document context. For example :
Table A ( Number, Description, Value ) -> Table B (Number - related field, Row number, Description lines, Value)
Table A (01/01/2022, "test", 1000) -> Table B (01/01/2022, 1, "test line 1", 500), Table B (01/01/2022, 2, "test line 2", 500 ).
In next new document the counter in Table B should start from 1.
Is it possible to do it in dataverse or in model-driven form ?
Will be greatfull for any informations.
Regards,
Maciej