Re: Average Days to Pay Calculation
Hello Nancy
Thank you for using Microsoft Online Communities. I understand that you have some customers that are showing blank average days to pay.
Most of the time that this field is blank is the table is not getting fully updated. This does happen sometimes when invoices are imported. Are you importing any invoices?
In Query Analyzer please run the following script against the company database
select DINVPDOF,* from RM20101 where CUSTNMBR = 'XX'
XX = Customer Number
If this field is blank for any of the invoices for this customer it will cause the average days to pay to be blank. If this is the case you will need to update those invoices through the table. If the field is blank you can run the following script to update that field.
Update RM20101 set DINVPDOF = 'YYYY-MM-DD 00:00:00.000' where dex_row_id = ZZ
You will want to change the date to the date the invoice was paid off.
ZZ = the dex row id for that invoice.
Once you have updated these fields for the invoices does the average days to pay show correctly?
Please make sure you try this in a test company and make sure you have a complete backup before attempting in live company.
Best regards,
Brad G
Microsoft Dynamics GP
We hope you get value from our new forums platform! Tell us what you think
social.microsoft.com/.../threads
This posting is provided AS IS with no warranties, and confers no rights