Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using the standard 'create invoice from salesorder' in workflows
#7
The missing ampersand has nothing to do with the problem. The correct way to define the task is WITH the ampersand.

When you extend a class


PHP Code:
class CBTagTask extends VTTask


you inherit all of it's methods, but if that class has defined any method as "abstract" your new class MUST implement those and they must follow the exact same profile as defined in the base class.

You can see here

https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/VTTaskManager.inc#L166

that the doTask() method gets the entity by reference so your class, which constructs upon that one has to define that method like that.

i will look into the problem you are having as soon as possible and get back to you
Joe
TSolucio
Reply


Messages In This Thread
RE: Using the standard 'create invoice from salesorder' in workflows - joebordes - 08-07-2016, 03:33 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)