I have a script attached to the 'Set Default Values' event of the AP_InvoiceDetail object. The script just sets some default values (based on a few conditions) in a few UDFs I have setup in the InvoiceDetail table. The script worked fine in MAS 200 v4.40. We have just upgraded the client to Sage 100 2014 Advanced. While the script still works, there is a strange problem when either opening a previously saved invoice, or when the users simply switches from the 'Lines' tab to the 'Header' tab, then back again. If we have 5 lines entered on the invoice (with their account and distribution amount), click the header tab, then come back to the Lines tab, the previously entered lines exist, but the 'G/L Account' and 'Amount' columns are completely blanked out. From what I can tell, if the focus is on the last row of the lines tab (the blank 'new row') and the users switches to the header, then back to the lines, the rows are blank. If the user puts focus on ANY of the existing lines before switching to the header and back to the lines, all information is present. This is pretty strange, but if anyone has any ideas why this would start happening in Sage 2014, I sure would appreciate it.
↧