Quintiq file version 2.0
|
#parent: #root
|
StaticMethod Update (
|
FeedbackProductInTrips feedbacktrips,
|
Real quantity,
|
Boolean isbatcheditquantity,
|
String description,
|
Boolean isbatcheditdescription
|
)
|
{
|
Description: 'Update the quantity and / or description when batchEdit'
|
TextBody:
|
[*
|
// Traverse the selected set of FeedbackOperations to batch update them
|
traverse( feedbacktrips, Elements, ft )
|
{
|
if( not isbatcheditquantity )
|
{
|
quantity := ft.FeedbackQuantity();
|
}
|
|
if( not isbatcheditdescription )
|
{
|
description := ft.Description();
|
}
|
|
ft.Update( quantity, description, false );
|
|
}
|
*]
|
}
|