Annotation: core.get_state_sales_tax_rate

CREATE OR REPLACE FUNCTION core.get_state_sales_tax_rate(_state_sales_tax_id integer)
RETURNS decimal_strict2

Information: core.get_state_sales_tax_rate

Schema core
Function Name get_state_sales_tax_rate
Arguments _state_sales_tax_id integer
Owner postgres
Result Type decimal_strict2
Description

Implementation: core.get_state_sales_tax_rate

CREATE OR REPLACE FUNCTION core.get_state_sales_tax_rate(_state_sales_tax_id integer)
 RETURNS decimal_strict2
 LANGUAGE plpgsql
AS $function$
BEGIN
    RETURN
        rate
    FROM core.state_sales_taxes
    WHERE state_sales_tax_id=$1;
END
$function$