Hi
you can modify the Transaction Notification to check all sales documents are using the right warehouse.
if (@document_type = '13' and @transaction_type = 'A')
begin
if (select count(*) from inv1 where docentry = @list_of_cols_Val_tab_del and whscode <> yourwarehouse) >0
begin
set @error = 10
set @error_message = 'Wrong warehouse in sales invoice'
end
end
Kind regards
AgustÃn Marcos Cividanes
You can set user wise default warehouse.
Go To
Administration --> Setup --> General --> User Defaults --> Defaults
and after that, you have to link that user default into Users.
If you want to block other warehouses for users, we can use store procedures.
Regards
Halik
Add a comment