GnuCash  5.6-150-g038405b370+

Cleanup functions for business objects. More...

#include "gnc-engine.h"

Go to the source code of this file.

Functions

Cleanup functions for business objects

Provides the high-level API for checking and repairing ('scrubbing clean') the various data objects used by the business functions.

gboolean gncScrubBusinessLot (GNCLot *lot)
 The gncScrubBusinessLot() function makes sure that the indicated lot has all the correct properties required for a lot used in the business features. More...
 
gboolean gncScrubBusinessSplit (Split *split)
 The gncScrubBusinessSplit() function will fix all issues found with the given split. More...
 
void gncScrubBusinessAccountLots (Account *acc, QofPercentageFunc percentagefunc)
 The gncScrubBusinessAccountLots() function will call gncScrubBusinessLot() on each lot in the given account. More...
 
void gncScrubBusinessAccountSplits (Account *acc, QofPercentageFunc percentagefunc)
 The gncScrubBusinessAccountSplits() function will call gncScrubBusinessSplit() on each split in the given account.
 
void gncScrubBusinessAccount (Account *acc, QofPercentageFunc percentagefunc)
 The gncScrubBusinessAccount() function will call all scrub functions relevant for a given account on condition the account is a business related account (Accounts Receivable or Accounts Payable type). More...
 
void gncScrubBusinessAccountTree (Account *acc, QofPercentageFunc percentagefunc)
 The gncScrubBusinessAccountTreeLots() function will call gncScrubBusinessAccount() on the given account and its sub accounts.
 

Detailed Description

Cleanup functions for business objects.

Author
Created by Geert Janssens August 2014
Copyright (c) 2014 Geert Janssens geert.nosp@m.@kob.nosp@m.altwi.nosp@m.t.be

Provides the high-level API for checking and repairing ('scrubbing clean') the various data objects used by the business functions.

Author
Created by Geert Janssens August 2014
Copyright (c) 2014 Geert Janssens geert.nosp@m.@kob.nosp@m.altwi.nosp@m.t.be

Definition in file ScrubBusiness.h.