Skip to main content

Notifications

Delete Using Unit of Work Pattern in AX 2012

public static server  void insertintocusttableusingUOWClass()
{
     UnitOfWork uow = new UnitOfWork();
    CustTable           custTable;  
    ;

     select *
        from custTable
        where custTable.AccountNum == '12347';
     uow.deleteonSaveChanges(custTable);
     uow.saveChanges();

}

Comments

*This post is locked for comments