Calling a method from ABL code not working

samb90

When I create a new quote from Epicor I would like to add an item from the parts form automatically.

I am trying to do this using the following ABL code which runs when 'GetNewQuoteHed' is called:

run Update.
run GetNewQuoteDtl.
run ChangePartNumMaster("Rod Tube").
ttQuoteDtl.OrderQty = 5.
run Update.

I am getting the error:

Index -1 is either negative or above rows count.

This error occurs for each line in my ABL code.

What am I doing wrong?

Tom Bascom

That's not the proper format for a 4GL error message (nor is it at all familiar) so I'd say it is an Epicor application message. Epicor support is probably your best bet. However... Just guessing but it sounds like you might need to somehow initialize the thing that you're updating.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

calling an object method from another method not working

From Dev

Calling a method from within itself is not working

From Dev

Calling a method from superclass not working Java

From

Why Calling Setenv from code Not Working?

From Dev

Calling javascript from code behind not working as expected

From Dev

calling C++ method from C code

From Dev

Calling the base class method from Code Quotations

From Dev

Calling SignalR Hub method from code behind

From Dev

Calling parent method from child component not working with callback

From Dev

@cacheEvict not working while calling the method from different controller

From Dev

JNI: Calling a java method from C periodically is not working

From Dev

Calling C++ Method from Python using ctypes not working

From Dev

Angular 4 - Calling a parent method from a child component not working

From Dev

Spark - UnsupportedOperationException when calling Java method from Scala code

From Dev

("NetworkError: 401 Unauthorized) Calling code behind method from JavaScript

From Dev

Calling thread from test method :code is optimized or a native frame is on top

From Dev

Xamarin Forms - calling a shared code method from the platform project

From Dev

calling a method on the root from a component, what is wrong with my code?

From Dev

Calling asynchronous I/O method from sync code

From Dev

Reading from file then excetuing Js code by calling specific method

From Dev

Calling Parse Cloud Code function from Express Get Method

From Dev

Calling a Java Method from the native code using jni

From Dev

Calling Attributes from Class inside of a Class Method, Code Error

From Dev

Calling a method from a superclass

From Dev

Calling method from view

From Java

Calling method from constructor

From Dev

Calling a method from arraylist

From Dev

Calling a method from a class

From Java

Calling a method from another method

Related Related

  1. 1

    calling an object method from another method not working

  2. 2

    Calling a method from within itself is not working

  3. 3

    Calling a method from superclass not working Java

  4. 4

    Why Calling Setenv from code Not Working?

  5. 5

    Calling javascript from code behind not working as expected

  6. 6

    calling C++ method from C code

  7. 7

    Calling the base class method from Code Quotations

  8. 8

    Calling SignalR Hub method from code behind

  9. 9

    Calling parent method from child component not working with callback

  10. 10

    @cacheEvict not working while calling the method from different controller

  11. 11

    JNI: Calling a java method from C periodically is not working

  12. 12

    Calling C++ Method from Python using ctypes not working

  13. 13

    Angular 4 - Calling a parent method from a child component not working

  14. 14

    Spark - UnsupportedOperationException when calling Java method from Scala code

  15. 15

    ("NetworkError: 401 Unauthorized) Calling code behind method from JavaScript

  16. 16

    Calling thread from test method :code is optimized or a native frame is on top

  17. 17

    Xamarin Forms - calling a shared code method from the platform project

  18. 18

    calling a method on the root from a component, what is wrong with my code?

  19. 19

    Calling asynchronous I/O method from sync code

  20. 20

    Reading from file then excetuing Js code by calling specific method

  21. 21

    Calling Parse Cloud Code function from Express Get Method

  22. 22

    Calling a Java Method from the native code using jni

  23. 23

    Calling Attributes from Class inside of a Class Method, Code Error

  24. 24

    Calling a method from a superclass

  25. 25

    Calling method from view

  26. 26

    Calling method from constructor

  27. 27

    Calling a method from arraylist

  28. 28

    Calling a method from a class

  29. 29

    Calling a method from another method

HotTag

Archive