date for days from today's date for lines being shipped

Scott_MejaScott_Meja Member Posts: 30
For the Report ,how to specify if date is greater than five days from today's date for lines being shipped in sales line and on in which trigger?

Comments

  • DaveTDaveT Member Posts: 1,039
    Hi Scott,

    I would need to know the report design but I'll assume you're going off the sales line table.

    In the OnAfterGetRecord put something like

    if ( "Sales Line"."Shipment Date" - 5 ) > TODAY then
    .....your code
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
Sign In or Register to comment.