Compare commits
No commits in common. "5a8ae45a01144119006ad96670b4307a53e26ab1" and "b62f2275d6f35678fac9ba97cf3d8a5b2cfa4a9e" have entirely different histories.
5a8ae45a01
...
b62f2275d6
@ -29,13 +29,6 @@ BEGIN
|
|||||||
RETURN;
|
RETURN;
|
||||||
END;
|
END;
|
||||||
|
|
||||||
-- Early exit if only list price is available
|
|
||||||
IF @target IS NULL AND @last_norm IS NULL
|
|
||||||
BEGIN
|
|
||||||
INSERT INTO @ret VALUES (NULL, N'Only List price is available, disregard');
|
|
||||||
RETURN;
|
|
||||||
END;
|
|
||||||
|
|
||||||
-- Pick starting base price
|
-- Pick starting base price
|
||||||
SET @base_price = COALESCE(@target, @last_norm, @list_eff);
|
SET @base_price = COALESCE(@target, @last_norm, @list_eff);
|
||||||
-- Reason text
|
-- Reason text
|
||||||
|
Loading…
Reference in New Issue
Block a user