Skip to Content

tables which can give information about the variables

When we on the system information, we can view the table associated with that field. However no table is linked to the variables. How can I pick this information in a query. eg : how can I catch the variable field at row level for the field, price after discount in the table PCH1.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 07:27 AM

    Hi Vivek,

    Check this User Query,

    SELECT T0.[DocNum], T1.[ItemCode], T1.[DiscPrcnt], T1.[Price], T1.[PriceAfVAT], 
    T1.[PriceBefDi], T1.[LineTotal] 
    FROM OPCH T0  
    INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
    
    SELECT T0.[DocNum], T1.[ItemCode], T1.[DiscPrcnt], T1.[Price], T1.[LineTotal] 
    FROM OPCH T0  
    INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry 
    

    Regards,

    Madhan.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 05:31 PM

    Almost all variables are calculated by system. There are no tables to hold such info.

    However as for price after discount, it is not a variable but a field value. It is PRICE field in PCH1.

    Thanks,

    Gordon

    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.