4291-delete_it.warehouseFk #1035
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1035
Loading…
Reference in New Issue
No description provided.
Delete Branch "4291-delete_it.warehouseFk"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Queda eliminar itemType.warehouseFk del proc vn2008.buy_tarifas_T3_pf
@ -202,3 +204,3 @@
AND v.calc_id = @calc_id
JOIN item i ON i.id = lb.item_id
JOIN itemType it ON it.id = i.typeFk AND lb.warehouse_id = it.warehouseFk
JOIN itemType it ON it.id = i.typeFk AND lb.warehouse_id = ${userConfig.warehouseFk}
Se debe parametrizar con "?" para prevenir inyección SQL
@ -180,3 +183,3 @@
LEFT JOIN producer pr ON pr.id = i.producerFk
LEFT JOIN origin ori ON ori.id = i.originFk
LEFT JOIN cache.last_buy lb ON lb.item_id = i.id AND lb.warehouse_id = it.warehouseFk
LEFT JOIN cache.last_buy lb ON lb.item_id = i.id AND lb.warehouse_id = ${userConfig.warehouseFk}
Se debe parametrizar con "?" para prevenir inyección SQL
LGTM