| ID: | 9837 |
| Title: | Automatic Aging for GP |
| URL: | http://mbsguru.blogspot.com/2009/04/automatic-aging-for-gp.html |
| Description: | The question came up on the Public GP Newsgroup about automating customer aging in GP. I recalled doing this for some customers in the past and found this method works well. GP calls a stored procedure called rmAgeCustomer to execute the Receivables Aging Process. You can do the same and schedule this to run periodically without user intervention. Run a DEXSQL.log when running that routine to trap this yourself. Below is the SQL that will age all customers, all statement cycles, and all balance types as of the current date. I recommend you test this before deploying in a production environment. DECLARE @O_iErrorState int, @I_dAgingDate datetime select @I_dAgingDate = convert(varchar(10), GetDate(), 102) EXEC dbo.rmAgeCustomer 0, '', 'þþþþþþþþþþþþþþþ', @I_dAgingDate, 127, 0, 0, '', @O_iErrorState OUT SELECT @O_iErrorState http://mbsguru.blogspot.com/atom.xml |
| Category: | TIPS AND TRICKS BY MODULES: RM (Receivables Management) |
| Link Owner: | |
| Date Added: | June 17, 2010 05:10:22 AM |
| Number Hits: | 19 |