Calcfields doesn't work using C/Front

jmlozares
Member Posts: 110
Hi all!
I'm having trouble using c/front's calcfield method, error message is "Not Implemented". Does anybody has idea to solve this?
Best Regards!
I'm having trouble using c/front's calcfield method, error message is "Not Implemented". Does anybody has idea to solve this?
Best Regards!
Janderol Lozares Jr.
Manila, Phils.
Manila, Phils.
0
Comments
-
Hi,
maybe there are some problem in the definition of flow field or in some table used for the flow field definition (i.e. keys). Try to recompile all object.
byebye0 -
Thanks for the reply!Janderol Lozares Jr.
Manila, Phils.0 -
I'm accessing the Item table and tried to update the Inventory field, therefore Calcfields should be used. But, I don't know where I get wrong, everything is working except for this function.Janderol Lozares Jr.
Manila, Phils.0 -
jmlozares wrote:I'm accessing the Item table and tried to update the Inventory field, therefore Calcfields should be used. But, I don't know where I get wrong, everything is working except for this function.
If I understand this correctly, you are trying to modify the value of the Inventory Field on the Item Card. This is not possible, The Inventory field is a calcfield, it shows the cummulative value of Quantity in the Item Ledger Entry table.
To be exact..............
Sum("Item Ledger Entry".Quantity WHERE (Item No.=FIELD(No.),Global Dimension 1 Code=FIELD(Global Dimension 1 Filter),Global Dimension 2 Code=FIELD(Global Dimension 2 Filter),Location Code=FIELD(Location Filter),Drop Shipment=FIELD(Drop Shipment Filter),Variant Code=FIELD(Variant Filter),Lot No.=FIELD(Lot No. Filter),Serial No.=FIELD(Serial No. Filter)))0 -
I am also experiencing this type of error in this function.
My code is thisocxCF.CalcFields(Table, Record, FieldsToCalculate)
I think the error is on the third argu(FieldsToCalculate) that I am passing in the cfront.
Question : What must I pass to this argu? the field name or the Field No? What is the data type must I pass?
Thanks in AdvanceNo future at CPI0 -
thanks for replying!!
True, I want to update Inventory field, but knowing its a flowfield of course I won't be able to update the value of the field directly, therefore i have to use the CALCFIELDS function isn't it? What Im doing actually is access the Item table from another database through C/Front, but using calcfield doesn't work, it returns the error something like "..Note Implemented". what could be wrong?Janderol Lozares Jr.
Manila, Phils.0 -
using version 3.70, Table 27 (Item), field: Inventory.
HItem := cfront.OpenTable(27); HRItem := cfront.AllocateRec(HItem); IF cfront.FindRec(HItem, HRItem, '-') THEN BEGIN cfront.CALCFIELDS(HItem, HRItem, 'Inventory'); END;
Janderol Lozares Jr.
Manila, Phils.0 -
BlackTiger wrote:But this problem exists not only in Navision. Same problem with .NET, SQL Server and other technologies. Looks like it's just impossible to read documentation first.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
BlackTiger wrote:Let's "boses" develop!Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions