R7318
Line 34 is hardcoded to Pick List Report. Change this to your custom Report.
Add this global
Name DataType Subtype Length
WhseActPrint Codeunit Warehouse Document-Print
Change this code
IF NOT IsHandled THEN
REPORT.RUN(REPORT::"Picking List",FALSE,FALSE,WhseActivHeader);
END;
To this code
IF NOT IsHandled THEN
//REPORT.RUN(REPORT::"Picking List",FALSE,FALSE,WhseActivHeader); MOD
WhseActPrint.PrintPickHeader(WhseActivHeader); //MOD
END;
No comments:
Post a Comment