pub async fn record_related(
conn: &mut PgConnection,
actor: Option<&Actor>,
action: &str,
entity_type: &str,
entity_id: Option<Uuid>,
related_item_id: Option<Uuid>,
summary: impl Into<String>,
details: Value,
) -> AppResult<()>Expand description
Like record for an entry that also talks about a second item (BOM
child, reference target, basis item, item added to a change, …): the
entry is redacted for readers who may not see that item.