GnuCash  5.6-150-g038405b370+

High-Level API for imposing Lot constraints. More...

#include "gnc-engine.h"

Go to the source code of this file.


High-Level Lot Constraint

Provides the high-level API for checking and repairing ('scrubbing clean') the usage of Lots and Cap Gains transactions in stock and commodity accounts.

gboolean xaccScrubLot (GNCLot *lot)
 The xaccScrubLot() routine makes sure that the indicated lot is self-consistent and properly balanced, and fixes it if its not. More...
void xaccAccountScrubLots (Account *acc)
 The xaccAccountScrubLots() routine makes sure that every split in the account is assigned to a lot, and that then, every lot is self-consistent (by calling xaccScrubLot() on each lot). More...
void xaccAccountTreeScrubLots (Account *acc)

Detailed Description

High-Level API for imposing Lot constraints.

Created by Linas Vepstas Sept 2003
Copyright (c) 2003 Linas Vepstas

Definition in file Scrub3.h.