lihongji
2024-11-27 a6cdd6f7945a475d10f1a01324b529f7fb0244f1
1
2
3
4
5
6
7
8
9
10
11
Quintiq file version 2.0
#parent: #root
Method GetHasTotalInputQuantityEqualToQuantity () declarative remote as Boolean
{
  Description: 'Returns true if the sum of quantity of OperationInput is identical to the quantity of OperationInputGroup.'
  TextBody:
  [*
    gp := this.MacroPlan().GlobalParameters_MP();
    return this.TotalInputQuantity().Round( gp.NumberOfDecimals() )  = this.InputGroupQuantity().Round( gp.NumberOfDecimals() );
  *]
}