Skip to Content
author's profile photo Former Member
Former Member

How to Block Sales from Other Warehouse

Dear All.

I am new to SAP Business One.

I have a Customer using SAP Business One 9.1 PL05 on MSSQL2012.

Is there a way i can setup Users who can only sell (Invoice) from specific warehouse.

Kind Regards


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Aug 09, 2016 at 08:13 AM


    you can modify the Transaction Notification to check all sales documents are using the right warehouse.

    if (@document_type = '13' and @transaction_type = 'A')


    if (select count(*) from inv1 where docentry = @list_of_cols_Val_tab_del and whscode <> yourwarehouse) >0


    set @error = 10

    set @error_message = 'Wrong warehouse in sales invoice'



    Kind regards

    Agustín Marcos Cividanes

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 09, 2016 at 08:01 AM

    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.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks i have set the user defaults and linked them to users and that's fine ,now what i would like is allow the users to create sales order , deliveries and invoice only from the default warehouse set in user default setting and not any other warehouse.

      please help

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.