How to make the Lines mandatory in Axapta

Hi All,

If i a Create a New line in Header then the Lines must be created(mandatory)… else it should not allow the user to create a new header line.

Hope any one wil throw some light…



Hi Ansar, I would like to know first your data model, what are you modeling?

Thanks for your Reply,

Problem solved by writing condition in the create method of the Header not to create a new header line without the Lines.