Get a specific procedure from an AL object
bc_get_procedureRetrieve the signature, body, attributes, and modifier of a named procedure from a Business Central AL object. Fetches a single procedure without the full source.
Instructions
Returns the signature, body, attributes, and modifier of a named procedure within an AL object. Useful when you only need a single procedure rather than the full object source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name, e.g. "w1-26" | |
| object_type | Yes | Type of the object containing the procedure, e.g. "codeunit" | |
| object_name | Yes | Name of the object containing the procedure | |
| procedure_name | Yes | Name of the procedure to retrieve (case-insensitive) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| object_type | Yes | ||
| object_name | Yes | ||
| path | Yes | ||
| procedure | Yes |