PurchTableForm_DlvScheduleSyncEnabled.refreshDeliveryLines Method [AX 2012]

Refreshes delivery lines after the order line with multiple deliveries has changed.

protected void refreshDeliveryLines(PurchLine _purchLine)

Run On

Called

Parameters

_purchLine
Type: PurchLine Table
The selected purchase order line.

It rereads the delivery lines found in the cache of the client one by one.

It does not have to query the data source again, which would be time- for large orders.

The assumption is that there will not be hundreds of delivery schedule lines and therefore rereading one by one will typically perform much better by taking into account the slow findRecord method that would must be called after another query.

Community Additions

ADD
Show: