| 1 | can_login(user_id integer_strict, office_id integer_strict, OUT result boolean, OUT message text) RETURNS record | postgres | |
| 2 | count_item_in_stock(item_id_ integer, unit_id_ integer, office_id_ integer) RETURNS numeric | postgres | |
| 3 | create_user(role_id integer_strict, office_id integer_strict, user_name text, password text, full_name text, elevated boolean DEFAULT false) RETURNS void | postgres | |
| 4 | get_cash_repository_id_by_cash_repository_code(text) RETURNS integer | postgres | |
| 5 | get_cash_repository_id_by_cash_repository_name(text) RETURNS integer | postgres | |
| 6 | get_cost_center_id_by_cost_center_code(text) RETURNS integer | postgres | |
| 7 | get_cost_of_good_method(_office_id integer) RETURNS text | postgres | |
| 8 | get_logged_in_culture(_user_id integer) RETURNS text | postgres | |
| 9 | get_logged_in_office_id(_user_id integer) RETURNS integer | postgres | |
| 10 | get_login_id(_user_id integer) RETURNS bigint | postgres | |
| 11 | get_office_code_by_id(office_id integer_strict) RETURNS text | postgres | |
| 12 | get_office_id_by_cash_repository_id(integer) RETURNS integer | postgres | |
| 13 | get_office_id_by_office_code(office_code text) RETURNS integer | postgres | |
| 14 | get_office_id_by_store_id(integer) RETURNS integer | postgres | |
| 15 | get_office_id_by_user_id(user_id integer_strict) RETURNS integer | postgres | |
| 16 | get_office_ids(root_office_id integer) RETURNS SETOF integer | postgres | |
| 17 | get_office_name_by_id(office_id integer_strict) RETURNS text | postgres | |
| 18 | get_offices() RETURNS SETOF office.office_type | postgres | |
| 19 | get_role_code_by_user_name(user_name text) RETURNS text | postgres | |
| 20 | get_role_id_by_role_code(text) RETURNS integer | postgres | |
| 21 | get_role_id_by_role_name(text) RETURNS integer | postgres | |
| 22 | get_role_id_by_use_id(user_id integer_strict) RETURNS integer | postgres | |
| 23 | get_store_id_by_store_code(text) RETURNS integer | postgres | |
| 24 | get_store_id_by_store_name(text) RETURNS integer | postgres | |
| 25 | get_store_name_by_store_id(integer) RETURNS text | postgres | |
| 26 | get_store_type_id_by_store_type_code(text) RETURNS integer | postgres | |
| 27 | get_sys_user_id() RETURNS integer | postgres | |
| 28 | get_user_id_by_user_name(user_name text) RETURNS integer | postgres | |
| 29 | get_user_name_by_user_id(user_id integer) RETURNS text | postgres | |
| 30 | has_child_offices(integer) RETURNS boolean | postgres | |
| 31 | is_admin(integer) RETURNS boolean | postgres | |
| 32 | is_parent_office(parent integer_strict, child integer_strict) RETURNS boolean | postgres | |
| 33 | is_periodic_inventory(_office_id integer) RETURNS boolean | postgres | |
| 34 | is_sys(integer) RETURNS boolean | postgres | |
| 35 | is_sys_user(integer) RETURNS boolean | postgres | |
| 36 | is_valid_office_id(integer) RETURNS boolean | postgres | |
| 37 | sign_in(office_id integer_strict, user_name text, password text, browser text, ip_address text, remote_user text, culture text, challenge text, OUT login_id bigint, OUT message text) RETURNS record | postgres | |
| 38 | validate_login(user_name text, password text, challenge text) RETURNS boolean | postgres | |