陈清红
2025-04-14 880f3c0257eeb8c37761d484258fdd102a369a19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Quintiq file version 2.0
#parent: #root
Method VerifyInputData (
  Period_MP period,
  UnitOfMeasure_MP kguom,
  UnitOfMeasure_MP palletuom,
  Product_MP greek12pk,
  Product_MP greek6pk,
  Unit fleet,
  LaneLeg laneleg
)
{
  Description: 'Check all input data needed for Test 00002 are available in the dataset'
  TextBody:
  [*
    this.Run().AssertNotIsNull( period, 'Verify period failed as no Planning Period found');
    
    this.Run().AssertNotIsNull( kguom, 'Verify KG UoM failed as no UoM found with Name = ' + UTF_UnitTestMPTransportCapacity::KG() );
    this.Run().AssertNotIsNull( palletuom, 'Verify Pallet UoM failed as no UoM found with Name = ' + UTF_UnitTestMPTransportCapacity::Pallet() );
    
    this.Run().AssertNotIsNull( greek12pk, 'Verify product failed as no Product found with Name = ' + UTF_UnitTestMPTransportCapacity::GreekBlueberry12pk() );
    this.Run().AssertNotIsNull( greek6pk, 'Verify product failed as no Product found with Name = ' + UTF_UnitTestMPTransportCapacity::GreekBlueberry6pk() );
    
    this.Run().AssertNotIsNull( fleet, 'Verify transport unit failed as no Unit found with Name = ' + UTF_UnitTestMPTransportCapacity::HUTruckFleet() );
    this.Run().AssertNotIsNull( laneleg, 'Verify lane leg failed as no Lane Leg found with Name = ' + UTF_UnitTestMPTransportCapacity::HUWarehouseDCBulgaria() );
  *]
  InterfaceProperties { Accessibility: 'Module' }
}