Třídová akce

Popis:
Vrátí platby dokladu s informací, jestli platba dokladu spadá do EET.
Kód:
17
Tělo:
SELECT
  A.DocumentType,
  A.ID,
  A.PAmount,
  EETMD.EET,
  EETMD.EETTurnover_ID
FROM PaymentsForDocument_VIEW A
LEFT JOIN EETMasterDocuments EETMD ON A.DocumentType = EETMD.DocumentType AND A.ID = EETMD.ID
WHERE
  A.PDocumentType = :DocumentType AND A.PDocument_ID = :ID

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