cadrumo.domain.modelos.m232_row_materialisation module¶
M232 related-party row materialisation into positional casillas.
Rows come from CLI input as Modelo232VinculadaRow objects and are
materialised into the selected revision’s positional casillas. The selected
revision owns the row capacity, field declarations, binding identities, and
export layout; this module retains only the row-materialisation boundary.
Materialise related-party rows using selected registry declarations.
The row capacity, slot and field identities, and the casilla id template are revision-owned data read from the selected mapping fact; every produced casilla id must be declared by the revision that fact names.
- Parameters:
rows (
tuple[Modelo232VinculadaRow,...]) – Related-party rows in declaration order; rownfills slotn.operation (
PinnedAuthorityOperation|None) – Existing generation-pinned authority operation. When omitted, one indexed operation is opened at this composition boundary.
- Return type:
- Returns:
Mapping of casilla id to its scalar value, ordered by row then field – text for the NIF and coded fields,
Decimalfor the amount.- Raises:
RegistryValidationError – If
rowsexceed the declared capacity, or the mapping declares a field or casilla the selected revision lacks.