Skip to main content

Module transaction

Module transaction 

Source
Expand description

Transaction commands over the client-form natives.

Structs§

Page
TransactionRow

Functions§

apply
Overrides replace date/note and merge cell-wise into the loaded row with the same key; keyless rows are appended; drop_rows removes rows.
apply_form
apply for any form. A non-split, non-carried rows field given in overrides (even empty) replaces the loaded list; otherwise the loaded one is kept.
check_split_tags
Refuses a --split-tag naming a --row that was not given.
create
Create the transaction and return its id.
create_from_template
Create a transaction from the draft of template template_id; overrides replace its date and note and merge into its rows, and the date is now when neither gives one.
delete
Errors
detail_form
One form that answers with the detail and both label lists, for clients that cannot make three round trips; render its reply with render_detail_reply.
edit
Load, override and submit the edit form; returns the transaction id.
link_split_tags
values with the split tags linked to split keys, minting keys for the tagged splits that have none.
paging_note
The stderr footer of a listing that starts at row offset; None when there is nothing to say.
parse_loaded_for
Parse a load-form payload for form.
parse_page
Errors
query
Errors
render_detail
Errors
render_detail_reply
The show lines of a detail_form wire reply; None when the transaction does not exist.
render_page
One line per row.
show
The get-transaction-detail lines of id.
submit_call
The (submit-form …) call for values against form.