YKPN#90406 Facturen verkeerd geboekt. Herstelscript aangemaakt.
svn path=/Customer/; revision=70478
This commit is contained in:
43
onces/YKPN/YKPN#90406.sql
Normal file
43
onces/YKPN/YKPN#90406.sql
Normal file
@@ -0,0 +1,43 @@
|
||||
DECLARE
|
||||
|
||||
CURSOR c IS
|
||||
select fin_factuur_key from fin_factuur where fin_factuur_key in
|
||||
(22388,
|
||||
22389,
|
||||
22390,
|
||||
22587,
|
||||
24357,
|
||||
24358,
|
||||
24546,
|
||||
27476,
|
||||
27477,
|
||||
27478,
|
||||
27479,
|
||||
27480,
|
||||
27725,
|
||||
27726,
|
||||
27727,
|
||||
27728,
|
||||
27729,
|
||||
27730,
|
||||
27731,
|
||||
27732,
|
||||
27733,
|
||||
27734,
|
||||
27737,
|
||||
27739,
|
||||
27740,
|
||||
27761,
|
||||
27762,
|
||||
27763,
|
||||
28100,
|
||||
28174);
|
||||
|
||||
BEGIN
|
||||
FOR rec IN c
|
||||
LOOP
|
||||
UPDATE fin_factuur SET cnt_contract_key = 445 WHERE fin_factuur_key = rec.fin_factuur_key;
|
||||
fac.trackaction('FINUPD', rec.fin_factuur_key, NULL, NULL, 'Factuur gewijzigd - herstelscript ticket YKPN#90406' || CHR(10) || 'Contract 4-1-3-1 --> 4-3-3-1' );
|
||||
END LOOP;
|
||||
END;
|
||||
/
|
||||
Reference in New Issue
Block a user