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

New Document or Saved Document ?

Hi,

I want to write a formatted search that performs a calculation differently depending on whether the user has started a new sales order or has opened a saved sales order.

My question is: When the query runs how do I differenciate between a new document and a saved document.

Thanks,

Conor.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 11:50 AM

    I don't know what exactly you want to do but since this can't be done by SBO, check the database. The SQL keywords 'exists', 'in', or 'any' may help.

    -->IF EXISTS(expression) then ...

    -->select ....where EXISTS(expression)

    -->select..where something IN (select..)

    -->select...where someting=ANY (select...)

    Add a comment
    10|10000 characters needed characters exceeded

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.