Skip to main content

lookup_gplan_code

Function lookup_gplan_code 

Source
pub(crate) fn lookup_gplan_code(
    config_json: &str,
    gplan_id: i64,
) -> Result<String>
Expand description

Internal: Lookup generic plan code by plan ID (for FFI use)

§Arguments

  • config_json - JSON configuration string
  • gplan_id - Plan ID to look up

§Returns

Plan code (GPLAN_CODE)

§Errors

Returns error if plan not found or JSON is invalid