Use toggle make to print selected sales orders

couberpucouberpu Member Posts: 317
Hi,

Need help to use toggle make and menu button to print selected sales orders in NAV classic.
My question is how to code in OnPush trigger to get all toggle marked sales orders and use repeat until to print selected record one by one.

Please help!

Thanks,
CouberPu

Comments

  • geordiegeordie Member Posts: 655
    Hi, you can start from code like this:
    MARKEDONLY(TRUE);
    IF FINDSET THEN
      REPEAT
        CustToPrint.SETRANGE(Code,Code);
        REPORT.RUN(REPORT::"Customer - List",FALSE,TRUE,CustToPrint);
      UNTIL NEXT = 0;
    
  • couberpucouberpu Member Posts: 317
    Thanks.
    Great help.
Sign In or Register to comment.