Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simphny event Listener in add check 1

Status
Not open for further replies.

Bassel Faisal

Programmer
Sep 13, 2021
6
EG
Hello,
Micros Simphony version 18.2.5 is what I'm using.
I'm trying to fire event when create check using dll to call a web service to thirdPartyApp
thanks in advance
 
Simphony fires the OpsPickUpCheckEvent when a check is picked up, so you can listen for that and do what you need to do.

I like to use lambdas (anonymous functions)

Code:
OpsPickUpCheckEvent += (s, a) =>
{
    // call 3rd party web service...

    return EventProcessingInstruction.Continue;
};


Others prefer to use named methods

Code:
OpsPickUpCheckEvent += ProcessOpsPickUpCheckEvent;

private EventProcessingInstruction ProcessOpsPickUpCheckEvent(object sender, OpsPickUpCheckEventArgs args)
{
    // call 3rd party web service...

    return EventProcessingInstruction.Continue;
}
 
Thank you very much...
@Martin B
but there is some update in the required listener is to listen to change in the data base
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top