pub fn add_expression_call(
config: &str,
params: AddExpressionCallParams<'_>,
) -> Result<(String, Value)>Expand description
Add a new expression call with element list
Creates a new expression call linking a function to a feature or element with an execution order and associated elements (EBOM records).
§Arguments
config- Configuration JSON stringparams- Expression call parameters
§Returns
Tuple of (modified_config, new_efcall_record)
§Errors
InvalidParameterif both ftype_code and felem_code are specified or both missingDuplicateif exec_order is already taken for the feature/elementNotFoundif function/feature/element codes don’t exist