Performance improvement of MInOut.prepareIt() method.

Description

Hi,

I am Hideaki Hagiwara in Japan.
I found a performance improvement point in MInOut.prepareIt() method.

In spite of a check of the credit limit is unnecessary,
MBPartner.getNotInvoicedAmt(getC_BPartner_ID()) is performed at MInOut.prepareIt() method.

Please, confirm the patch.

And Calculation cost of MBPartner.getNotInvoicedAmt(getC_BPartner_ID()) rises if Sales Order become many data.

So,I think that We have better to add index at Bill_BPartner_ID column in C_Order Table.

Best regards.

Environment

None

Attachments

1

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Affects versions

Priority

Created January 21, 2018 at 3:29 AM
Updated July 2, 2018 at 11:41 AM
Resolved May 16, 2018 at 9:20 AM