--გრაფიკი და CPV კოდი მისათითებელია ფინანსურში
Declare @ContractID UniqueIdentifier

Set @ContractID = '74542D32-C3EC-4DC1-8B8E-441E26FE11D9'

Select * From dbo.BL_Liabilities Where LiabilityNumber = 25517 And ContractID = @ContractID

Select TreasuryID, TreasuryStatusID, TreasuryChangeDescription, * From dbo.BL_Contracts
Where ContractNumber = N'სე/017–0403' And ID = @ContractID

Select * From dbo.BL_TreasuryContractShedule
Where DateDeleted Is Null And ContractID = @ContractID

Select * From dbo.BL_TreasuryContractCpvCodes
Where DateDeleted Is Null And ContractID = @ContractID
