Annotation: office.get_cost_of_good_method

CREATE OR REPLACE FUNCTION office.get_cost_of_good_method(_office_id integer)
RETURNS text

Information: office.get_cost_of_good_method

Schema office
Function Name get_cost_of_good_method
Arguments _office_id integer
Owner postgres
Result Type text
Description

Implementation: office.get_cost_of_good_method

CREATE OR REPLACE FUNCTION office.get_cost_of_good_method(_office_id integer)
 RETURNS text
 LANGUAGE plpgsql
AS $function$
BEGIN
        RETURN value
        FROM office.configuration
        WHERE office_id=$1
        AND config_id=2;
END
$function$