UFN_MKTPACKAGE_GETINSERTCOSTFORDISTRIBUTION
Returns the total cost of all inserts for a given package with the distribution method specified.
Return
Return Type |
---|
money |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@PACKAGEID | uniqueidentifier | IN | |
@COSTDISTRIBUTIONMETHODCODE | tinyint | IN |
Definition
Copy
CREATE function dbo.[UFN_MKTPACKAGE_GETINSERTCOSTFORDISTRIBUTION]
(
@PACKAGEID uniqueidentifier,
@COSTDISTRIBUTIONMETHODCODE tinyint
)
returns money
as
begin
return dbo.[UFN_MKTPACKAGE_GETINSERTCOSTFORDISTRIBUTION2](@PACKAGEID, @COSTDISTRIBUTIONMETHODCODE, 0);
end