Template Selection Error

Dear All,

When i open General Journal through Action buttion, we get the template selection page first i.e “General Journal Template List” and then once template is selected, GEneral JOurnal page is opened. BUt when i tried this writing a code using page.runmodal the template list opens but i cant select the template thus journal does not open. Anyone has got any idea??



You need to use the GenJnlManagement codeunit, look in OnOpenPage trigger of page General Journal for its usage.