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