Skip to main content

payments

NameTypeStorageNullableForeign KeysDefault Value & Notes
PKIDintegerplainPayment ID
forkintegerplainforks.IDFork ID (`null` for base module)
ownergroupintegerplaingroups.IDOwner group ID (`null`=PUBLIC)
creatorintegerplainusers.IDCreator user ID (defaults to authenticated user on creation)
assigneduserintegerplainusers.IDAssigned user ID
creationdatebigintplainDefault: date_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodifiedbigintplainDefault: date_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification)
ledgerintegerplainledgers.IDLedger ID
transactionintegerplaintransactions.IDTransaction ID; is mutually exclusive to `account`
accountintegerplainaccounts.IDAccount ID; is mutually exclusive to `transaction`
datebigintplainDefault: date_part('epoch', now())Designated date and time as a Unix timestamp (defaults to current date and time on creation)
subjecttextmainDefault: ''Subject (e.g. bank statement or reference number)
statussmallintplainDefault: 0Status (`0`=DRAFT, `1`=COMPLETED, `2`=CANCELLED, `3`=BOOKED)
amountdouble precisionplainAmount (monetary)
autoadvancesmallintplainDefault: 0Auto-advance to next transaction
descriptiontextextendedDefault: ''Detailed general description
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_payments_accountbtreeaccount
fk_payments_assigneduserginassigneduser
fk_payments_forkginfork
fk_payments_ledgerginledger
fk_payments_ownergroupginownergroup
fk_payments_transactionbtreetransaction
i_payments_datebtreedate
i_payments_noforkginfork
i_payments_noownerginownergroup
pk_paymentsbtreeID
s_payments_subjectginsubject
NameType
c_payments_associationcheck
dc_payments_descriptioncheck
dc_payments_statuscheck
dc_payments_subjectcheck
fk_payments_accountforeign_key
fk_payments_assigneduserforeign_key
fk_payments_creatorforeign_key
fk_payments_forkforeign_key
fk_payments_ledgerforeign_key
fk_payments_ownergroupforeign_key
fk_payments_transactionforeign_key
pk_paymentsprimary_key
NameTypeEventsFunctionDefinition
td_payments_transactionafterdeleteftd_payments_transaction
ti_payments_transactionafterinsertfti_payments_transaction
tu_payments_transactionafterupdateftu_payments_transaction
Loading...