lihongji
2024-09-18 3ef592a0cd20ce531526b3ecbe73c3e0f31838b0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Quintiq file version 2.0
#parent: #root
MethodOverride GetHasMisMatchAvailableUserSupply () const declarative remote as Boolean
{
  TextBody:
  [*
    result := false;
    
    if( this.HasTotalAvailableSupplyUser() )
    {
      result := not this.ProductInStockingPoint_MP().Product_MP().MacroPlan().GlobalParameters_MP().GetIsBalanceWithinTolerance( this.TotalAvailableSupplyUser(), this.SupplyQuantity() );
    }
    
    return result;
  *]
}