fix: refs #6861 saleTrackingAdd #3121
|
@ -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
|
||||
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
carlosap
commented
Tabulación ) Tabulación )
|
||||
|
|
Loading…
Reference in New Issue
Tabulación