PCHD#66214: Import facturen importeert niet op laatste/actuele contract.
svn path=/Database/trunk/; revision=50773
This commit is contained in:
@@ -14542,7 +14542,7 @@ AS
|
||||
WHERE cnt_contract_verwijder IS NULL
|
||||
AND cnt_contract_status = 0
|
||||
AND cnt_contract_nummer_intern = c_contract_nr
|
||||
ORDER BY cnt_contract_versie DESC)
|
||||
ORDER BY cnt_contract_key DESC)
|
||||
WHERE ROWNUM = 1;
|
||||
ELSE
|
||||
SELECT cnt_contract_key
|
||||
|
||||
Reference in New Issue
Block a user