COSWorkDistribution.changePriority Method
Updates the priority on all COSWorkDistribution records when distributions are reordered.
Syntax
public void changePriority(boolean _up)
Run On
ClientOrServer
Parameters
- _up
Type: boolean
A Boolean value that indicates whether the current COSWorkDistribution record should be moved up or down in the execution order.
Remarks
When a COSWorkDistribution record is moved up or down, the priority of the record will be decreased or increased.
The priority of all other COSWorkDistribution records will be changed to reflect the new order.
The priority on COSWorkDistributionLine records will also be changed.