Set LineNo programmatically for GL_JournalLine

Description

Hello

There is no check for LineNo on MJournalLine.
So if you add lines using code, the LineNo remains at 0.
To be consistent with other documents, I've added a check for the value of Line and if is 0, then set it automatically

Regards,

Nicolas

Environment

None

Status

Assignee

Nicolas Micoud

Reporter

Nicolas Micoud

Labels

Tested By

None

Fix versions

Priority

Minor
Configure