Openbravo Issue Tracking System - Modules
View Issue Details
0021364ModulesDunning Letterspublic2012-08-16 11:002012-08-20 22:17
ngarcia 
mtaal 
urgentmajoralways
closedduplicate 
5
 
1.0.51.0.5 
mtaal
0021364: The Start Dunning Work Flow background process is not working properly
The Start Dunning Work Flow background process is not working properly. It does not create any record in the Payment In Plan - Dunning Log tab for late payments.
As group admin role:
   Go to the Enterprise Module Management window and add the reference data of the module
   Go to the Business Partner window and add the Dunning Policy included in the reference data in the Dunning Policy field of the Customer tab for Alimentos y Supermercados, S.A.
   Create a new Sales Invoice for that BP changing its Invoice Date in order to obtain a payment for at least 11 days ago
   Go to the Process Request window and create a new record:
      Organization: *
      Process: Start Dunning Work Flow
      Timing: Run Immediately
   Click the Schedule Process button
   Go to the Payment In Plan window, select the already created payment
   Notice that there are no records in the Dunning Policy tab
   If there is a payment with tomorrow as Due Date, the process creates two records on it:
      Dunning work flow has started
      Payment not late, exiting dunning work flow

No tags attached.
duplicate of defect 00213951.0.5 closed mtaal Dunning letter parameter LateTimeInDays is not used/available in process execution 
Issue History
2012-08-16 11:00ngarciaNew Issue
2012-08-16 11:00ngarciaAssigned To => mtaal
2012-08-16 11:00ngarciaIssue Monitored: networkb
2012-08-20 14:15mtaalNote Added: 0051379
2012-08-20 14:15mtaalStatusnew => feedback
2012-08-20 22:17mtaalClosed by => mtaal
2012-08-20 22:17mtaalRelationship addedduplicate of 0021395
2012-08-20 22:17mtaalNote Added: 0051407
2012-08-20 22:17mtaalStatusfeedback => closed
2012-08-20 22:17mtaalResolutionopen => duplicate
2012-08-20 22:17mtaalFixed in Version => 1.0.5

Notes
(0051379)
mtaal   
2012-08-20 14:15   
This is by design, only payments which are 'so-many' days late are considered. This set through the LateTimeInDays parameter in the 'Report and Process' record for starting the dunning work flow. The default value for this parameter is 5.

This assumes that the process request is scheduled in 5 days intervals or less.

Can you try this?

Note that I have solved some other issues in the dunning module. I will publish a new version in a few days from now.
(0051407)
mtaal   
2012-08-20 22:17   
The latetimeindays is now done through a preference. I have noted this case (that a payment is not dunning-workflowed) in the documentation also:
http://wiki.openbravo.com/wiki/Projects:Dunning/User_Documentation#Dunning_policy.2C_dunning_status_and_dunning_business_process [^]

See the link in the first bullet in the middle of the section.