Skip to Content

Internal Error (3006)

Hi - We have written a Formatted search inside of AP Inv to copy the Item or Service description to the Journal Remarks under the Accounting tab

It was reported as working but now we are getting the above internal error

Any clues

SELECT CASE WHEN (T0.[DocType]) = I

Then $[$38.3.0]

Else $[$39.1.0]

END

FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 06, 2012 at 02:45 PM

    Try this:

    Select case when $[OPCH.DocType]='I'

    then substring($[$38.3.0],1,50)

    else substring($[$39.1.0],1,50) end

    (autorefresh when DocTotal changes)

    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.