
Why does locking Service Contract Header fail ?
Anyone ??
regards
Bjorn
//open contract for modification
ServiceContract contract = new ServiceContract();
contract = css.Read("SK-99999");
contract.Change_Status = Change_Status.Open;
css.Update(ref contract);
... modify .... contract lines
... more logic
//Lock contract in order to do invoicing ....
//FAILS
contract = css.Read("SK-99999");
contract.Change_Status = Change_Status.Locked;
css.Update(ref contract);
Hello,
We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
dynamicsuser.net/.../developers
I will open this up to the community in case they have something to add.
Thanks.