cmtang
27th November 2015, 06:05
Dear All,

I am new to sql in LN ERP.

How could get the "calculation" field from easy sql?
For my case, I am try to get the "Expected Inventory" (ID: stoc.balance) under session whinp1500m000.

Cheers

mark_h
28th November 2015, 19:36
If you are using easy sql then you need to write a query to do the calculation that is in that session. You can't use easy sql to pull a field from a session - typically those fields are calculated in the code of the session.

cmtang
30th November 2015, 02:29
Hi Thanks.

By the way how could get the formula of calculated field?

mark_h
30th November 2015, 16:23
You would have to own source code - then edit the code and find where the field is calculated. Then you can see how it is calculated - might not be so easy in easy sql.