AX Custom security role on transfer order issue

I created a role for creating transfer orders. I want the users assigned this role to be able to delete transfer order items and at the same time he cannot delete the transfer order itself , so i granted him a create permission on the INVENTTRANSFERORDER menu item. and delete permission on the RETAILADDITEMS menu item. however it doesn’t work as expected I can create orders and add items to it but cannot delete items from the Transfer order. is there a way to solve this?

It helps to add the items to the TO. How does this is related to deleting the TO line?

If so have delete permissions on INVENTTRANSFERORDER and restrict InventTransferTable to create in related role.

Hi Kranthi,
Sorry for not being clear when I explained my case. what I meant is that I want to restrict the user from being able to delete the transfer order header and enable him to delete products items (that are being transferred) in the TO lines.

For deleting product lines you should have delete access on transfer order lines, RETAILADDITEMS will not give you that access. Please see my suggestion in the previous post.

It worked pretty well thank you.