4Site
Support Request System
View Patch #50.014.003
Description
Patch ID:
Date Implemented:
Patch Title:
Patch Type:
Request IDs:
Bug
Enhancement
Other
02150 -
Voucher is re-posted into a closed period - used new vohdr.postingdate
Symptoms:
A voucher was posted originally in July 2007. The vohdr showed the posting and transaction date to use as July 31/07. That period has been closed for a while. On Jan. 4, 2008 they reverse posted the voucher using Jan. 4 as the posting date. They would've had to pick an open period. Then they re-posted it. It used the July 31, 2007 date again even though the period was closed.
Solution:
in Sub cmdButton_Click().PostingRoutine: - Call to clsFiscal.PeriodStatus to check if a specified post transaction date falls within a closed fiscal period. - if the returned period status is C(losed), display a message informing clients that the voucher cannot be posted to a Closed Fiscal period and that the remedy is to reset the date to an open period or to blank the date out and use the default date on the voucher posting screen. Then execute a gosub to voPostFiscalPeriodError: to update the voheader.status to E(rror), and insert the error msg text into voerrtxt table. - Add labels to the form for use in constructing the error message.
Browse Patches
Find a Patch
Return to Request System Menu