Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

where is the flow fields in SQL DB

rated by 0 users
This post has 2 Replies | 1 Follower

Top 500 Contributor
Posts 32
Points 745
Member since 10-18-2007
satheeshNav Posted: 12-20-2007 7:08

Hi  friends

I  have  changed the back end from Nav native DB  to  SQL sever 2005 . I open the sql DB and check the flow fields in customer  ledger  ex:- Amount, Original Amt. (LCY), Remaining Amt. (LCY), Original Amt. (LCY) . there are not there   where can I find them . how this fields are exsist . for the purpose of using Sql reporting service i need this help

Top 500 Contributor
Posts 38
Points 445
Member since 06-09-2005

If you open the SQL Server with Enterprise Manager, you will see a lot of table name with the following format:

Company_name$xxx$1

Company_name$xxx$2

 xxx = table number.

 

If not mistaken, the info for flowfields are stored inside these tables.  

 

 

  • | Post Points: 5
Top 10 Contributor
Male
Posts 931
Points 11,920
Member since 12-18-2000
DynamicsNAVMVP
Moderator

"Flow Fields" are fields which do not store physically any value - this value is calculated on demand; this refers to C/SIDE and SQL Server. The only way to access FF is via C/SIDE C/AL. With SQL Server the FF aren't even defined within the table - they simply do not exist with SQL Server.

When NAV is "calculating" a FF for display, it is querying the related table (CalcFormula) in addition to the "master" table.

Thus, in your case, if you want to deal with the FF e.g. "Amount" etc. on "Customer Ledger Entry" with SQL, you have to query the data from the "Detailed Cust. Ledger Entry" table.

Jörg A. Stryk
STRYK System Improvement
Performance Optimization & Troubleshooting
http://www.stryk.info

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS


Copyright Dynamics User Group, 1995-2009, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.