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

Selecting an Items 'Internal Number'

Hi All,

I would like to SELECT an items B1 assigned 'Internal Number' in a query but can't seem to find the column name it in the OITM table from with query generator.

The only way I can get the result is if I select all ie. 'SELECT * from OITM'. The result returns all columns, including the items Internal Number.

Does anyone know how to select an items 'Internal Number' individually?

Best regards,

John

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2010 at 01:16 AM

    Hi All,

    There is an Internal number. If you do the following..

    SELECT * FROM OITM T0

    You can see the 'Internal Number' column header between 'Deleted' and 'Expense Account' in the returned results.

    I would like to know how to select this 'Internal Number'

    Best regards,

    John

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2010 at 06:51 AM

    There is no internal number field in the OITM but if you are asking about item code, you can use select itemcode from OITM

    JimM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2010 at 07:18 AM

    Hi..

    There is not internal number field for Items you can select Item Codes for particular item by query

    Regards,

    Bhavank

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2010 at 06:05 PM

    Hi John,

    Check this query:

    SELECT T0.ItemCode, T0.DocENtry FROM OITM T0.

    Thanks,

    Gordon

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2010 at 01:29 AM

    Thanks Gordon,

    T0.DocEntry is what I was after.

    Many thanks,

    John

    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.