[Master] - Vendor Subscription Contract Deferral Release fails with “Gen. Journal Template does not exist (Name = '')”#8254
Conversation
|
Issue #636197 is not valid. Please make sure you link an issue that exists, is open and is approved. |
PostGenJnlLine implicitly depends on prior Get()ServiceContractSetup is a report-level variable loaded by GetGeneralLedgerSetupAndCheckJournalTemplateAndBatch(), but PostGenJnlLine() uses it directly for Journal Template Name and Journal Batch Name without its own Get() or nil guard. Any caller invoking PostGenJnlLine without first calling GetGeneralLedgerSetupAndCheckJournalTemplateAndBatch will silently post journal entries with blank template and batch names. Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
AB#636197
Bug 636197: [master] [ALL-E] Vendor Subscription Contract Deferral Release fails with “Gen. Journal Template does not exist (Name = '')”