PR
yypsybs
2023-09-19 93b4b535d06d9dd71039827e759bfc211c3ff4ef
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
@@ -1,6 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FromSupplyPlanning (
  GlobalOTDTable otdTable,
  MacroPlan macroPlan,
  MacroPlan mappingRoot,
  String mrpCalverNo
@@ -20,7 +21,7 @@
    if( isnull( oldRecords ) or oldRecords.Size() = 0 ) {
      pispips := ProductInStockingPointInPeriod::GetByMRPCalverNo( macroPlan, mrpCalverNo );
      traverse( pispips, Elements, item ) {
        PRData::FromSupplyPlanning( macroPlan, mappingRoot, item );
        PRData::FromSupplyPlanning( otdTable, macroPlan, mappingRoot, item );
      }
    }
  *]