I have to add custom to class SalesTableType, method updateBackStatus().
I have created an extensionOf class for SalesTableType.
To customize updateBackStatus I want to use the chain of commands.
SalesTableType class is defined as follow with variable 'salesTable' defined in such a way that it is available to all methods in that class:
************
abstract class SalesTableType extends InventType implements SalesPurchIModifiedDefaulter
{
SalesTable salesTable;
SalesLine salesLineCaller;
....
************
So why is 'salesTable' not available in my extension? I thought when one creates an extension, then all variables in the class it extended is available to me? In SalesTableType.updateBackStatus() it uses it without assigning a value to it or define a variable again for it. By the time updateBackStatus is run, it has an record in salesTable. It immediately starts off with "if (salesTable.mcrIsCallCenter())". So why when I want to overwrite this specific method with chain of command, can I not just use salesTable