[dbo].[GetProviderTransactionInformation]
create procedure [dbo].[GetProviderTransactionInformation]
@inStorageId int,
@inInstrumentId int
as
set nocount on;
select
StorageId = StoragePaymentTransactionTracking.StorageFID,
InstrumentId = StoragePaymentTransactionTracking.InstrumentFID,
FirstTransactionId = StoragePaymentTransactionTracking.FirstTransactionID,
LastTransactionId = StoragePaymentTransactionTracking.LastTransactionID
from StoragePaymentTransactionTracking
where StoragePaymentTransactionTracking.StorageFID = @inStorageId and
StoragePaymentTransactionTracking.InstrumentFID = @inInstrumentId
GO
GRANT EXECUTE ON [dbo].[GetProviderTransactionInformation] TO [MssExec]
GO