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