Saltar al contenido

app.self_billing_agreements

TablaSeguridad a nivel de fila activa

The engaged party's consent, per engagement, that the org generates its invoices from approved timesheets (Section 4.4.5 self-billing). Generation also needs the org's own setting and belongs to A15; only the party agrees or revokes, and a revoked agreement stays as evidence.

Clave primaria: id

Columnas de app.self_billing_agreements
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.engagements on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
engagement_iduuidNoEngagement the consent covers.Hace referencia a app.engagements.id
agreed_byuuidSíParty person who agreed, set from the session.Hace referencia a app.people.id
agreed_attimestamp with time zoneNoWhen agreed, set by the database.
revoked_byuuidSíParty person who revoked, set from the session.Hace referencia a app.people.id
revoked_attimestamp with time zoneSíWhen revoked; invoices are no longer generated from then on.
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id