Scrub2.c File Reference

Utilities to Convert Stock Accounts to use Lots. More...

#include "config.h"
#include <glib.h>
#include "qof.h"
#include "Account.h"
#include "AccountP.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "Scrub2.h"
#include "ScrubP.h"
#include "cap-gains.h"
#include "gnc-engine.h"
#include "gnc-lot.h"
#include "policy-p.h"

Go to the source code of this file.

Functions

void xaccAccountAssignLots (Account *acc)
void xaccLotFill (GNCLot *lot)
void xaccLotScrubDoubleBalance (GNCLot *lot)
void xaccScrubSubSplitPrice (Split *split, int maxmult, int maxamtscu)
gboolean xaccScrubMergeSubSplits (Split *split)
gboolean xaccScrubMergeTransSubSplits (Transaction *txn)
gboolean xaccScrubMergeLotSubSplits (GNCLot *lot)


Detailed Description

Utilities to Convert Stock Accounts to use Lots.

Author:
Created by Linas Vepstas March 2003

Copyright (c) 2003 Linas Vepstas <linas@linas.org>

Provides a set of functions and utilities for checking and repairing ('scrubbing clean') the usage of Lots and lot balances in stock and commodity accounts. Broken lots are repaired using the accounts specific accounting policy (probably FIFO).

Definition in file Scrub2.c.


Generated on Thu Sep 2 04:36:47 2010 for GnuCash by  doxygen 1.5.7.1