automation does not work
kanika
Member Posts: 247
Hi experts!!
nav 2009 this code worked without errors:
CLEAR(EcuVB);
IF NOT CREATE(EcuVB) THEN
ERROR('No pudo instanciarse OmiCalc - Ecuaciones. Avise al administrador del sistema. Posiblemente OmiCalc-E no esté instalada.');
Now nav 2018 the code stops in error:
CLEAR(EcuVB);
IF NOT CREATE(EcuVB,FALSE,TRUE) THEN
ERROR('No pudo instanciarse OmiCalc - Ecuaciones. Avise al administrador del sistema. Posiblemente OmiCalc-E no esté instalada.');
Name DataType Subtype
EcuVB Automation '_OmiCalc'.CEcuaciones

I do not understand why now it gives error
thanks in advance!!!
nav 2009 this code worked without errors:
CLEAR(EcuVB);
IF NOT CREATE(EcuVB) THEN
ERROR('No pudo instanciarse OmiCalc - Ecuaciones. Avise al administrador del sistema. Posiblemente OmiCalc-E no esté instalada.');
Now nav 2018 the code stops in error:
CLEAR(EcuVB);
IF NOT CREATE(EcuVB,FALSE,TRUE) THEN
ERROR('No pudo instanciarse OmiCalc - Ecuaciones. Avise al administrador del sistema. Posiblemente OmiCalc-E no esté instalada.');
Name DataType Subtype
EcuVB Automation '_OmiCalc'.CEcuaciones

I do not understand why now it gives error
thanks in advance!!!
0
Answers
-
I see that it's a custom automation, so the most probable thing that it isn't properly registered. You could have some dependecy problems as well.0
-
Is there any way to know?0
-
You could run the CREATE standalone (without IF... THEN).
Then you could see the actual error.My blog - https://www.HannesHolst.com/0 -
Thanks! now the error is this

]
it has a solution?0 -
Yes, the same permissions with what is executed in nav20090
-
not sure on which side (client or server) an automation-object is executed. Make sure that the automation is available on the server of the ServiceTier too.
My blog - https://www.HannesHolst.com/0 -
yes, it is0
-
Did you tried doing this
CREATE(EcuVB,TRUE,TRUE)Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Tried, same error
Can it be a license problem?0 -
At this point I think I can only replicate the code (VB) in NAV,
someone knows some link where you can consult about this ??
I do not know for example the data type "double" to which they correspond in nav0 -
At this point I think I can only replicate the code (VB) in NAV,
someone knows some link where you can consult about this ??
I do not know for example the data type "double" to which they correspond in nav
Double in VB (8 bytes) is float in SQL. In NAV, there's only one decimal (12 bytes) to represent real numbers.
http://help.lsnav80.lsretail.com/help/en/FieldDataTypes.htm
https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/data-types/data-type-summary0 -
Thank you very much everyone for your attention !!0
-
Can it be a license problem?
No.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

