Re: [Axapta-Knowledge-Village] Re: Changing Units of Measure in AX2009

2010-09-02 Thread visti Sethna
Hi please ensure these are done with great care and will have an impact on cost and quantity both. Forcefully updating the units of measure thought not a best practise is possible and i have done the same through this code that i have given you On Wed, Aug 25, 2010 at 6:32 AM, george_spl < george.

Re: [Axapta-Knowledge-Village] delete_from vs loop delete

2010-09-02 Thread Zainal Arifin
Hi Deshpande, Thanks for the explanation and detail suggestion :) The delete statement means I'd like to delete current record and all records related to their parent, so that I used refId and linkRefId. I've ever separated the delete refid and linkrefid, but it gave me more locked error, so that

RE: [Axapta-Knowledge-Village] delete_from vs loop delete

2010-09-02 Thread Harry Deshpande
You have a problem :( I suppose _refId in the first statement and _reqTrans.RefId in the second statement is same? (at least for some transactions?) You have a couple of options: 1. Put the first delete statement in a separate transaction block. This has the side-effect that if your pro