Notifications
Announcements
No record found.
Ive create an inbound port that I'm using in an C# app, this service will create a record on a new custom table, well is working fine, now I've overwrited the Insert method (after the port was created) to execute some code after the record is inserted but for some reason it is not executing the code (wich will insert records in another table) any help you can provide will be really appretiated.
Thanks
Andres V.
Hi Andres,
Could you please let us know the following -
1. Have you done a full CIL?
2. Can you test inserting records into this table (from a form or using table browser) and check if your code is getting executed?
Most likely you forgot to generate CIL.
Web services are always executed in CIL code, so if your x++ changes are not yet compiled to CIL, then the web service call still uses the old code in the insert method.
Well I run a full compilation and still didn't work, so I had to stop the service and deleted the dlls files the XppIL folder and it worked. Thank you.
Andres,
It's almost always linked to CIL issues. Great that you resolved it.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 584 Most Valuable Professional
André Arnaud de Cal... 499 Super User 2025 Season 2
Sohaib Cheema 254 User Group Leader