Hi Experts,
How can i cancel salesline via x++ using the MCRSalesordercancelation class.
Should i be calling the postcancelline() of MCRSalesordercancelation class of application suite.
If so the issue i m facing is that my sales line will not find anything in that while loop as there is only 1 sales line item i would want to cancel .
However i still need to cancel my salesline. and i cannot call cancelline() directly as it is protected.
Any suggestions.

Thanks
Mav