
greeting everyone in pos retail i've created custom suspended but i'm facing problem when i try to recall transaction i got this error
Object reference not set to an instance of an object
how can i pass that
this is my code
this.Application.RunOperation(PosisOperations.RecallTransaction, "SRCJD01-CJD01POS01-464");
and this code work very well if i call from main screen of POS
and i also i tried this
if (!string.IsNullOrEmpty( "SRCJD01-CJD01POS01-464")) {
application.RunOperation(PosisOperations.RecallTransaction, "SRCJD01-CJD01POS01-464");
}
you are getting the null exception as your trying to make a call from a null object which cause the object not set to an instance error
as you can see form below it appears that 'this.Application' has null value which mean you are using it in the code in some please were it is not initialized yet