Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: InventTable delete action not working by code

$
0
0

Hi Giacomo,

Try this:

while select forUpdate inventTable where inventTable.ItemId == "xxx"
    {
        if(inventTable.validateDelete())
           {
               ttsBegin;
               InventTable.delete();
               ttsCommit;
           }
    }


I hope it will help you.


Viewing all articles
Browse latest Browse all 175888

Trending Articles