USP_DATALIST_RERECEIPTREASONCODES
Returns a list of reason codes.
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@INCLUDEINACTIVE | bit | IN | Include inactive |
Definition
Copy
create procedure dbo.USP_DATALIST_RERECEIPTREASONCODES
(
@INCLUDEINACTIVE bit = 0
)
as
set nocount on
select
ID,
CODE,
DESCRIPTION,
ACTIVE
from dbo.RERECEIPTREASONCODE
where
(ACTIVE = 1 or @INCLUDEINACTIVE = 1)
order by CODE asc