Parameters
| Name | Type | Mode |
|---|---|---|
| p_amount | t_money | IN |
| p_dept_id | integer | IN |
Convenience wrapper over fn_itemizer_breakdown for callers that only hold a dept_id and only want the net (BASE_PRICE) figure. Returns p_amount unchanged when the department has no itemizers or does not exist. Returns raw numeric (not t_money) so callers can sum first and cast once – casting per night loses satang against itemizer_summary.
| Name | Type | Mode |
|---|---|---|
| p_amount | t_money | IN |
| p_dept_id | integer | IN |