Request form for, Sales order post+print shipment

KisuKisu Member Posts: 381
edited 2012-08-23 in NAV Three Tier
Heyas,

I'd need to change the Sales order, post+print shipment so when posting and printing the shipment, the shipment report request form should open.

I already tried to edit the code in CU82, PrintReport trigger and change the Report.run parameter for request form to True but it gives me runtime error and wont print the report at all.

Error is like: The following C/AL functions can be used only to a limited degree during write transactions because one or more tables will be locked...


The code works fine in classic but this should work for RTC client.

Any help with this issue?
K.S.

Comments

  • AndwianAndwian Member Posts: 627
    Why do you want to do this?
    Regards,
    Andwian
  • KisuKisu Member Posts: 381
    Andwian wrote:
    Why do you want to do this?

    Its not me, its what customer wants.

    They want to either print or just preview the shipment when posting and printing it same time.
    K.S.
  • AndwianAndwian Member Posts: 627
    There is a work around:
    Set your printer to the OneNote, PDF writer, or XPS writer, and then do the Post & Print as usual, then the print out will be sent to softcopy one, instead to the paper printer.
    Regards,
    Andwian
Sign In or Register to comment.