Reservations with quantity 0 are displayed in the stock/requirements list.
Cause and prerequisitesThe requirement for the corresponding quantity was set in the production order to the same as the quantity that was already withdrawn.
SolutionProgram modification in LM61XF30:
FORM UEBERNEHMEN_ARBED.
*--> Bedarfsverrechnung
....
*--> Bedarfsmenge ermitteln
MDPSX-MNG01 = MDRS-BDMNG - MDRS-ENMNG.
IF MDPSX-MNG01 EQ 0. <-- NEW
EXIT. <-- NEW
ENDIF. <-- NEW
IF MDRS-SHKZG EQ SHKZGS.
MOVE PLUSX TO MDPSX-PLUMI.
MOVE S1PLUSX TO MDPSX-SORT1.
ELSE.
MOVE MINUS TO MDPSX-PLUMI.
ENDIF.
*--> Bedarfsverursacher
No comments:
Post a Comment