# `Fun_get_show_config_hbjz` (function)

> 根据传入的字段，字段名称，组装显示JSON配置


- **Type:** FUNCTION
- **Returns:** `longtext`
- **Deterministic:** NO
- **SQL data access:** CONTAINS SQL

## Parameters

| # | Mode | Name | Type |
|---|---|---|---|
| 1 | IN | `sName` | `varchar(50)` |
| 2 | IN | `showName` | `varchar(50)` |
| 3 | IN | `sActiveKey` | `varchar(50)` |
| 4 | IN | `sParentId` | `varchar(50)` |

## Body

_Body is not pre-cached. To inspect: `mysql --defaults-file=~/.my.cnf -e 'SHOW CREATE FUNCTION `Fun_get_show_config_hbjz`'`._

## Narrative

**Business context:** Dynamic-report column-config builder ("动态配置返回函数" family) — "合并基准" / parent-grouping variant. Used to emit a header row that groups child columns (`sActiveKey` becomes the parent-column linkage) in dynamic grids; `bVisible=false` because the parent header is structural, not a data column.

**What it does:** returns a `JSON_OBJECT` shaped like the other show_config outputs but with reduced parameters — only `sName`, `showName`, `sActiveKey`, `sParentId` are caller-supplied; `bSum=FALSE`, `bMergeCell=false`, `bVisible=false`, `iOrder=0`, `iFitWidth=80`. Each invocation uses a fresh `NewId()` for `sId`.

**Invocation:** called by `Sp_MftPlan_MachineProcessLodading` (生产管理 → 工序加载报表). No other callers found in routines or src.
