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

Set @ContractID = '5E59B4B8-8A15-4C64-9B91-56BDE67CD9DD'

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

Select TreasuryID, TreasuryStatusID, TreasuryChangeDescription, * From dbo.BL_Contracts
Where ContractNumber = N'სე/017–0405' 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
