cancel
Showing results for 
Search instead for 
Did you mean: 

Can not block Negative Inventory

Former Member
0 Kudos

Dear Expert

Why I can not restrict negative inventory, although I have ticked Block negative inventory in Document Settnigs ?

Is there any other configuration beside that ?

Thank You

Best regards

JeiMing

Accepted Solutions (1)

Accepted Solutions (1)

former_member204969
Active Contributor
0 Kudos

In 8.8 releas:

When you select the Block Negative Inventory By checkbox, you have the following 3 options for defining negative inventory in SAP Business One:

Company

When you specify Block Negative Inventory By Company, SAP Business One blocks an item only when its cumulative inventory quantity across all warehouses in your company goes below 0.

Warehouse

When you specify Block Negative Inventory By Warehouse, SAP Business One blocks an item if its inventory goes below 0 in any warehouse to which it has been assigned.

Item Setting

When you specify Block Negative Inventory By Item Setting, SAP Business One blocks negative inventory either at company level or for each warehouse, depending on the status of the Manage Inventory by Warehouse checkbox in the item master data.

For earlier releases there was only one checkbox, which blocked the negative inventory in company level. Then you could block the warehouse negative inventory by setting the minimal quantity to zero and choosing the blocking below the minimal quantity.

Former Member
0 Kudos

Thank You Istvan for your explanation

But I use SBO 2007 A

I have ticked block negative inventory in Document settings,

and in the item master data, I do not ticked manage inventory by warehouse

and I do not fill the minimum quantity

Suppose to be with the conditions, I can not create any transactions that make my inventory to be negative right ?

But I don't know why I can still create negative inventory when I create inventory transactions, such as GI, Inventory transfer, etc

Best regards

Jeiming

Former Member
0 Kudos

Hi Jeiming,

Since you are using before 8.8 version, negative inventory is defined on company level. It allow negative for a particular warehouse as long as other warehouse has enough quantity.

Thanks,

Gordon

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi JeiMing Tjiam

Good day! Would like to ask if you were to able check the "Inventory Item" settings in the Item master data, if yes, then next question is did you check the Manage inventory by whse? if not, then try to check the available stock in other warehouses. because as far as i know,if you have Block negative invt upon initialization of DB you will not encounter this problem.

Regards,

Darius

former_member196081
Active Contributor
0 Kudos

Hi,

Istwan is right.You can handle negative inventory through this.

or

You can do it through Transaction notification..


-----------------------------block negative inventory----------------------

IF @transaction_type = 'A' AND @object_type = '60'
BEGIN
IF EXISTS (SELECT T1.DocEntry FROM dbo.IGE1 T1 INNER JOIN dbo.OITW T2 ON T1.ItemCode = T2.ItemCode 
WHERE T2.WhsCode = T1.WhsCode
AND T2.OnHand < 0
AND T1.DocEntry = @list_of_cols_val_tab_del)
BEGIN
SELECT @error = 2, @Error_Message = 'Stock falls into negative for this warehouse.' 
END
END
--------------------------------------