NAV5.0 - SQL Server - SIFT

shibilyshibily Member Posts: 89
Hi All,
I am trying to write a Stored procedure where i need to access the Cust.ledger entry table. Here i want to take the Amount field , but it is not accessible here beacuse it is a Sum index field. Is there any method to take the values of the Amount field through SQL query?

Thanks in advance
Shibily

Answers

  • kapamaroukapamarou Member Posts: 1,152
    Use the SQL View.
  • shibilyshibily Member Posts: 89
    kapamarou wrote:
    Use the SQL View.

    Hi,
    I tried with the SQL View DBNAME$Cust_ Ledger Entry$VSIFT$1 . However i could not find the amount field here. I got only a few other fields.

    Thanks,
    Shibily
  • kapamaroukapamarou Member Posts: 1,152
    That's because the amount field is itself a flowfield. You will find it in the Detailed Customer Ledger Entry SQL View...
  • shibilyshibily Member Posts: 89
    kapamarou wrote:
    That's because the amount field is itself a flowfield. You will find it in the Detailed Customer Ledger Entry SQL View...

    Thank you kapamarou
  • kapamaroukapamarou Member Posts: 1,152
    :D
Sign In or Register to comment.