fix: support deployed outbound detail schema
This commit is contained in:
@@ -1065,7 +1065,7 @@ BEGIN
|
||||
warehouse.project_no AS [@project_no],
|
||||
outbound.product_id AS [@product_id], outbound.lot_no AS [@lot_no],
|
||||
outbound.quantity AS [@quantity], outbound.assign_num AS [@assign_num],
|
||||
outbound.allot_quantity AS [@allot_quantity], outbound.create_time AS [@create_time]
|
||||
outbound.allot_quantity AS [@allot_quantity]
|
||||
FROM dbo.out_stockout_detail outbound WITH (NOLOCK)
|
||||
JOIN dbo.out_stockout stockout WITH (NOLOCK) ON stockout.stockout_id = outbound.stockout_id
|
||||
LEFT JOIN dbo.bas_warehouse warehouse WITH (NOLOCK)
|
||||
@@ -1279,7 +1279,7 @@ BEGIN
|
||||
warehouse.project_no AS [@project_no],
|
||||
outbound.product_id AS [@product_id], outbound.lot_no AS [@lot_no],
|
||||
outbound.quantity AS [@quantity], outbound.assign_num AS [@assign_num],
|
||||
outbound.allot_quantity AS [@allot_quantity], outbound.create_time AS [@create_time]
|
||||
outbound.allot_quantity AS [@allot_quantity]
|
||||
FROM dbo.out_stockout_detail outbound WITH (NOLOCK)
|
||||
JOIN dbo.out_stockout stockout WITH (NOLOCK) ON stockout.stockout_id = outbound.stockout_id
|
||||
LEFT JOIN dbo.bas_warehouse warehouse WITH (NOLOCK)
|
||||
|
||||
Reference in New Issue
Block a user