Stored Procedures [dbo].[MssWebGetAccountingCustomerLookupItem]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@inAccountingCustomerIdint4
Permissions
TypeActionOwning Principal
GrantExecuteMssExec
SQL Script
create procedure dbo.MssWebGetAccountingCustomerLookupItem
    @inAccountingCustomerId int
as
begin
    set nocount on;

    select
        Id = AccountingCustomer.AccountingCustomerId,
        CustomerName = AccountingCustomer.Name,
        CustomerNumber = AccountingCustomer.CustomerNumber
    from
        AccountingCustomer
    where
        AccountingCustomer.AccountingCustomerId = @inAccountingCustomerId
end
GO
GRANT EXECUTE ON  [dbo].[MssWebGetAccountingCustomerLookupItem] TO [MssExec]
GO
Uses