Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038866Openbravo ERP07. Sales managementpublic2018-06-29 10:312019-08-20 21:30
joniturralde93 
collazoandy4 
highminoralways
scheduledopen 
5
pi 
 
Core
No
0038866: Message APRM_NoDistributeMsg is not correct (>75 vs >100 records)
Message APRM_NoDistributeMsg says 'The amount has not been distributed because there are too many (>75) records', but we can see in 'Add Details' button from 'Payment In' window that this only happens starting from 100 shown records.

This can be tested by creating 80 invoices that match with the 'Payment In' record and are shown from the beggining, with 'Add Payment: Automatically distribute amounts' property to 'Y' (this is default value). With 80 records the system still autodistributes the amounts, but if you create 105, the error appears: 'The amount has not been distributed because there are too many (>75) records'.

This probably happens in other windows like this one.
1. Create a 'Payment In' record ('Payment Method'=Transferencia, 'Amount'=50000).
2. Set 'Add Payment: Automatically distribute amounts' property to 'Y' with a preference.
3. Create 80 invoices, all with payment method 'Transferencia', with lines, no payments and completed, so they can be selected in 'Add Details'.
4. Click 'Add Details' button for the 'Payment In' record.
5. The system autodistributes the amounts.
6. Create 25 more invoices like those previous ones.
7. Click 'Add details' again.
8. The amount has not been distributed because there are too many (>75) records
No tags attached.
Issue History
2018-06-29 10:31joniturralde93New Issue
2018-06-29 10:31joniturralde93Assigned To => Triage Finance
2018-06-29 10:31joniturralde93Modules => Core
2018-06-29 10:31joniturralde93Triggers an Emergency Pack => No
2019-08-20 17:55collazoandy4Assigned ToTriage Finance => collazoandy4
2019-08-20 17:55collazoandy4Statusnew => scheduled
2019-08-20 21:30collazoandy4Note Added: 0114103

Notes
(0114103)
collazoandy4   
2019-08-20 21:30   
Create 80 invoices, all with payment method 'Transferencia', with lines, no payments and completed, so they can be paid
Go to Payment In and create a new record
  Click 'Add Details' button and check The system autodistributes the amounts.
Create 25 more invoices like those previous ones.
  Click 'Add details' again in Payment in windows and check an information message 'The amount has not been distributed because there are too many (>100) records' is shown