Quintiq file version 2.0
|
#parent: #root
|
Method VerifyWhenSelected (
|
ProductInStockingPointInPeriodPlanning pispipjan,
|
ProductInStockingPointInPeriodPlanning pispipfeb,
|
ProductInStockingPointInPeriodPlanning pispipmar
|
)
|
{
|
Description: 'Check sales demand and fulfillment for the smart planning when not selecting the postponable demand'
|
TextBody:
|
[*
|
this.Run().AssertEqual( 0.0, pispipjan.SalesDemandQuantity(), 'Expecting sales demand qty = 0 for ' + [String]pispipjan.Start() + pispipjan.ProductInStockingPoint_MP().Name() )
|
this.Run().AssertEqual( 0.0, pispipfeb.SalesDemandQuantity(), 'Expecting sales demand qty = 0 for ' + [String]pispipfeb.Start() + pispipfeb.ProductInStockingPoint_MP().Name() )
|
this.Run().AssertEqual( 1000.0, pispipmar.SalesDemandQuantity(), 'Expecting sales demand qty = 1000 for ' + [String]pispipmar.Start() + pispipmar.ProductInStockingPoint_MP().Name() )
|
this.Run().AssertEqual( 1000.0, pispipmar.SalesDemandFulfilledQuantity(), 'Expecting sales demand fulfilled qty = 1000 for ' + [String]pispipmar.Start() + pispipmar.ProductInStockingPoint_MP().Name() )
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|