Add Order Date to Sales Invoice Line after posting

ADARTIHSADARTIHS Member Posts: 78
Hi Everyone,

I need to order the Sales Header Order Date to the Sales Invoice Line after the an invoice has been posted from the order.

Has anyone done this before? I guess you have to amend the Codeunit 80 to get this working.

Is this difficult or can a mere mortal do this?


thanks


ADATRHIS

Comments

  • matttraxmatttrax Member Posts: 2,309
    Do you want to do this DURING posting? Or AFTER posting? There's a big difference.

    During posting you can modify Codeunit 80. After posting should not be done. Once something is posted it should not be changed.
  • ssinglassingla Member Posts: 2,973
    Codeunit 80 is used at the time of posting and you to write a custom function (You can use CU80 or any CU/Report) but I am not sure Client license will have the permission to modify the Sales Invoice Line.

    Why aren't you updating the Order Date at the time of posting?
    CA Sandeep Singla
    http://ssdynamics.co.in
  • devu_13devu_13 Member Posts: 101
    Hi
    I think you should be post your order by running Report "Post batch sale Order" which modify your orderdate as your posting date.Just try it.
    Devendra Kr. Sharma
    IBIZ Consulting Services,India
Sign In or Register to comment.