Objektová akce

Kód:
7
Tělo:
/* FP */
Select distinct '04', B.Parent_ID 
from 
  ReceivedCreditNotes2 A
  join ReceivedInvoices2 B on A.RSource_ID = B.ID
where 
  A.Parent_ID = :OBJID

union all

/* VPR */
Select '30', RightSide_ID from Relations where Rel_def = 1031 AND LeftSide_ID = :OBJID

Generated by ABRA Software a.s. 27.10.2021 16:34:11