| Název | Popis | Datový typ |
|---|---|---|
| IN_OldDocumentType | VarChar(2) | |
| IN_NewDocumentType | VarChar(2) | |
| IN_OldID | Char(10) | |
| IN_NewID | Char(10) |
| Název | Popis | Třída |
|---|---|---|
| DecDocRef | Sníží interní referenci na použitý doklad | Procedures |
| IncDocRef | Zvýší interní referenci na použitý doklad | Procedures |
BEGIN
if ((IN_NewID <> IN_OldID) or (IN_OldDocumentType <> IN_NewDocumentType) or
(IN_NewID is null and IN_OldID is not null) or
(IN_NewID is not null and IN_OldID is null)) then begin
execute procedure DecDocRef(IN_OldDocumentType, IN_OldID);
execute procedure IncDocRef(IN_NewDocumentType, IN_NewID);
end
END;Generated by ABRA Software a.s. 27.10.2021 16:34:18