CalcStdCost.TestPreconditions(Item,ProdBOMVersionErrBuf,RtngVersionErrBuf);here ProdBOMVersionErrBuf and RtngVersionErrBuf are temporary records
TestPreconditions(VAR Item : Record Item;VAR NewProdBOMVersionErrBuf : Record "Production BOM Version";VAR NewRtngVersionErrBuf : Recor CalcItems(Item,TempItem2); ProdBOMVersionErrBuf.RESET; IF ProdBOMVersionErrBuf.FIND('-') THEN REPEAT NewProdBOMVersionErrBuf := ProdBOMVersionErrBuf; NewProdBOMVersionErrBuf.INSERT; UNTIL ProdBOMVersionErrBuf.NEXT = 0; RtngVersionErrBuf.RESET; IF RtngVersionErrBuf.FIND('-') THEN REPEAT NewRtngVersionErrBuf := RtngVersionErrBuf; NewRtngVersionErrBuf.INSERT; UNTIL RtngVersionErrBuf.NEXT = 0;
Comments