fix: refs #6861 saleTrackingAdd #3121

Merged
sergiodt merged 4 commits from 6861-ReserveSaleTracking into master 2024-10-17 15:29:13 +00:00
1 changed files with 3 additions and 11 deletions
Showing only changes of commit 3463036086 - Show all commits

View File

@ -8,16 +8,8 @@ BEGIN
*
* @param vSectorCollectionFk Identificador de vn.sectorCollection
*/
REPLACE saleTracking(
saleFk,
isChecked,
workerFk,
stateFk
)
SELECT sgd.saleFk,
TRUE,
sc.userFk,
s.id
REPLACE saleTracking(saleFk, isChecked, workerFk, stateFk)
SELECT sgd.saleFk, TRUE, sc.userFk, s.id
sergiodt marked this conversation as resolved Outdated

Tabulación

Tabulación
FROM sectorCollection sc
JOIN sectorCollectionSaleGroup scsg ON scsg.sectorCollectionFk = sc.id
JOIN saleGroupDetail sgd ON sgd.saleGroupFk = scsg.saleGroupFk
sergiodt marked this conversation as resolved Outdated

Tabulación )

Tabulación )