void gncEntryCommitEdit (GncEntry *entry) { /* GnuCash 2.6.3 and earlier didn't handle entry kvp's... */ if (!kvp_frame_is_empty (entry->inst.kvp_data)) gnc_features_set_used (qof_instance_get_book (QOF_INSTANCE (entry)), GNC_FEATURE_KVP_EXTRA_DATA); if (!qof_commit_edit (QOF_INSTANCE(entry))) return; qof_commit_edit_part2 (&entry->inst, gncEntryOnError, gncEntryOnDone, entry_free); }
void gncAddressCommitEdit (GncAddress *addr) { /* GnuCash 2.6.3 and earlier didn't handle address kvp's... */ if (!kvp_frame_is_empty (addr->inst.kvp_data)) gnc_features_set_used (qof_instance_get_book (QOF_INSTANCE (addr)), GNC_FEATURE_KVP_EXTRA_DATA); if (!qof_commit_edit (QOF_INSTANCE(addr))) return; qof_commit_edit_part2 (&addr->inst, gncAddressOnError, gncAddressOnDone, address_free); }
void gncTaxTableCommitEdit (GncTaxTable *table) { /* GnuCash 2.6.3 and earlier didn't handle taxtable kvp's... */ if (!kvp_frame_is_empty (table->inst.kvp_data)) gnc_features_set_used (qof_instance_get_book (QOF_INSTANCE (table)), GNC_FEATURE_KVP_EXTRA_DATA); if (!qof_commit_edit (QOF_INSTANCE(table))) return; qof_commit_edit_part2 (&table->inst, gncTaxTableOnError, gncTaxTableOnDone, table_free); }
void gncEntryCommitEdit (GncEntry *entry) { if (!qof_commit_edit (QOF_INSTANCE(entry))) return; qof_commit_edit_part2 (&entry->inst, gncEntryOnError, gncEntryOnDone, entry_free); }
void qof_book_commit_edit(QofBook *book) { if (!qof_commit_edit (QOF_INSTANCE(book))) return; qof_commit_edit_part2 (&book->inst, commit_err, noop, noop/*lot_free*/); }
void gncJobCommitEdit (GncJob *job) { if (!qof_commit_edit (QOF_INSTANCE(job))) return; qof_commit_edit_part2 (&job->inst, gncJobOnError, gncJobOnDone, job_free); }
void gncEmployeeCommitEdit (GncEmployee *employee) { if (!qof_commit_edit (QOF_INSTANCE(employee))) return; qof_commit_edit_part2 (&employee->inst, gncEmployeeOnError, gncEmployeeOnDone, emp_free); }
void gncBillTermCommitEdit (GncBillTerm *term) { if (!qof_commit_edit (QOF_INSTANCE(term))) return; qof_commit_edit_part2 (&term->inst, gncBillTermOnError, on_done, bill_free); }
void gnc_sx_commit_edit (SchedXaction *sx) { if (!qof_commit_edit (QOF_INSTANCE(sx))) return; qof_commit_edit_part2 (&sx->inst, commit_err, commit_done, sx_free); }