Oracle EBS Interface/API(14)-MRP Forcast clears (or deletes) all forecast materials

MRP Forcast clears (deletes) all forecast materials API: MRP_FORECAST_INTERFACE_PK.MRP_FORECAST_INTERFACE
Parameter description:

You can also clear (or delete) all materials under multiple forecast names at the same time

DECLARE
  --预测名称
  Lt_Fcs_Designator_Tab Mrp_Forecast_Interface_Pk.t_Forecast_Designator;
  Var_Bool              BOOLEAN;
BEGIN
  --组织ID
  Lt_Fcs_Designator_Tab(1).Organization_Id := 1056;
  --预测名称
  Lt_Fcs_Designator_Tab(1).Forecast_Designator := 'Z';
  --Call Api
  Var_Bool := Mrp_Forecast_Interface_Pk.Mrp_Forecast_Interface(Lt_Fcs_Designator_Tab);
  --
  IF (Var_Bool = TRUE) THEN
    Dbms_Output.Put_Line('清除预测物料成功!');
  ELSE
    Dbms_Output.Put_Line('清除预测物料失败');
  END IF;
  COMMIT;
END;

 

Guess you like

Origin blog.csdn.net/chenxianping/article/details/102646260