renhao
2023-10-12 df6e56c65e758b5a5e7b28bb9192575710a76c47
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
@@ -3,15 +3,11 @@
StaticMethod FromSupplyPlanning (
  GlobalOTDTable otdTable,
  MacroPlan macroPlan,
  MacroPlan mappingRoot,
  String mrpCalverNo
  String mrpCalverNo,
  String userId
)
{
  Description:
  [*
    SupplyPlanning转PRData
    todo 修改mappingRoot为MPSync
  *]
  Description: 'SupplyPlanning转PRData'
  TextBody:
  [*
    // yypsybs Sep-12-2023 (created)
@@ -21,7 +17,7 @@
    if( isnull( oldRecords ) or oldRecords.Size() = 0 ) {
      pispips := ProductInStockingPointInPeriod::GetByMRPCalverNo( macroPlan, mrpCalverNo );
      traverse( pispips, Elements, item, item.NewSupplyQuantity() > 0 ) {
        PRData::FromSupplyPlanning( otdTable, macroPlan, mappingRoot, item );
        PRData::FromSupplyPlanning( otdTable, macroPlan, item, userId );
      }
    }
  *]