I was trying to settle open transaction through X++ code.
CustTrans::SettleTransact()
The above line working without any issue on jobs or classes in X++ code. But this code not working in Service class only its marking the record. its not settling the record.
Please guide me to identify the issue and resolve it.
*This post is locked for comments