Skip to Content
author's profile photo Former Member
Former Member

How to bring tthe Show History Instance Number into ALD

Hi Everyone

Each time an order is amended the Show history will log it with a new instance number which my client wants to use to resend the document to their customer each time a change is made.

I need to bring the Instance Number from the Show History window of a Sales Order into the Print document using ALD or PLD - Can this be done??

Thanks

asma

Message was edited by:

Marc Riar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 05:28 PM

    You need to create a UDF with a Formatted Search, where the query should be for example on the Sales Order:

    SELECT MAX(LOGINSTANC) FROM ADOC WHERE DOCNUM = $[ORDR.DOCNUM]

    Set as auto refresh when Document Number changes.

    Then you can display this UDF on the layout with ALD or PLD.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thankyou for this answer - however unless the user leaves the record and comes back in the UDF does not refresh and the output document will require immediate printing therefore it will retain the old number.

      I think we're just going to resolve it properly using SDK but thanks again - it may come in handy somewhere else in the future :o)

      Kind regards

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.