UFN_BATCHREVENUESPLITBUSINESSUNIT_GETBUSINESSUNITS
Returns business units for a revenue batch split.
Return
| Return Type |
|---|
| table |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @BATCHREVENUESPLITID | uniqueidentifier | IN |
Definition
Copy
CREATE function dbo.UFN_BATCHREVENUESPLITBUSINESSUNIT_GETBUSINESSUNITS(@BATCHREVENUESPLITID uniqueidentifier)
returns table
as return
select
ID,
BUSINESSUNITCODEID,
AMOUNT,
REVENUESPLITBUSINESSUNITID
from
dbo.BATCHREVENUESPLITBUSINESSUNIT
where
BATCHREVENUESPLITID = @BATCHREVENUESPLITID;