When I generate a PO based on re-order or based on sold items, the storeid in that PO is 0, it should not be 0 because the storeid is 3.
why is it?
with my thanks!
When I generate a PO based on re-order or based on sold items, the storeid in that PO is 0, it should not be 0 because the storeid is 3.
why is it?
with my thanks!
Dear All, you can configure the default value for StoreID column to your configured StoreID, ex: as you mentioned you storeid is 3 so the default value must be change to
3 , if your storeid is 4 change the default value to 4 ......etc, ALTER TABLE PurchaseOrder DROP CONSTRAINT DF_PurchaseOrder_StoreIDGO
ALTER TABLE dbo.PurchaseOrder
ADD CONSTRAINT DF_PurchaseOrder_StoreID DEFAULT 3 FOR StoreID
GO
BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.