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

Delivery -> Sales Order executes formatted search


Found a very strange behaviour of B1:

When making a new Delivery, which contains a formatted search in the lines, based on an sales order the value of the delivery (position) gets newly calculated -> the formatted search gets executed!. This is imho very very strange because when referencing an order i want the value SIMPLY from there (All other fields get copied too).

the formatted search is based on a saved query:

SELECT $[$38.11.NUMBER]*$[$38.U_AnzMenge.NUMBER]

-Autorefresh Yes

-When altering Column

-Display Saved Values

Any suggestions?


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 Sep 26, 2005 at 09:50 AM

    Hi there,

    Can try:

    SELECT 'Price'=CASE WHEN $[$38.44.NUMBER]=0 THEN 2*2


    (SELECT T0.Price From RDR1 T0 INNER JOIN ORDR T1 ON T0.DocEntry=T1.DocEntry

    WHERE T1.DocNum=$[$38.44.NUMBER] AND T0.ItemCode=$[$38.1.0])


    This query only workable for local currency or currency specify in your Delivery Order. If your Sales Order line detail have different currency then you will need to modify the query.

    Hope this help...

    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.