Revision e8e72fab
Von admin vor fast 4 Jahren hinzugefügt
src/lib/aqfinance/engine/lib/book/0BUILD | ||
---|---|---|
ae_counter_type.xml
|
||
ae_counter_value.xml
|
||
ae_refueling.xml
|
||
ae_price.xml
|
||
</setVar>
|
||
|
||
<setVar name="local/built_sources" >
|
||
ae_address.c
|
||
ae_commodity.c
|
||
ae_rule.c
|
||
ae_recurrence.c
|
||
ae_bankbalance.c
|
||
ae_accountbalance.c
|
||
ae_account.c
|
||
ae_bankaccount.c
|
||
ae_item.c
|
||
ae_job.c
|
||
ae_partner.c
|
||
ae_task.c
|
||
ae_statement.c
|
||
ae_load_cellphone.c
|
||
ae_tax.c
|
||
ae_split.c
|
||
ae_transaction.c
|
||
ae_vehicle.c
|
||
ae_refueling.c
|
||
ae_dbconflict.c
|
||
ae_dbconflictsolution.c
|
||
ae_data_10k.c
|
||
ae_counter_type.c
|
||
ae_counter_value.c
|
||
</setVar>
|
||
|
||
<setVar name="local/built_headers_pub">
|
||
ae_account.h
|
||
ae_accountbalance.h
|
||
ae_address.h
|
||
ae_bankaccount.h
|
||
ae_bankbalance.h
|
||
ae_commodity.h
|
||
ae_item.h
|
||
ae_job.h
|
||
ae_partner.h
|
||
ae_recurrence.h
|
||
ae_rule.h
|
||
ae_split.h
|
||
ae_statement.h
|
||
ae_load_cellphone.h
|
||
ae_task.h
|
||
ae_tax.h
|
||
ae_transaction.h
|
||
ae_vehicle.h
|
||
ae_refueling.h
|
||
ae_dbconflict.h
|
||
ae_dbconflictsolution.h
|
||
ae_data_10k.h
|
||
ae_counter_type.h
|
||
ae_counter_value.h
|
||
</setVar>
|
||
|
||
|
||
<setVar name="local/built_headers_priv" >
|
||
ae_account_p.h
|
||
ae_accountbalance_p.h
|
||
ae_address_p.h
|
||
ae_bankaccount_p.h
|
||
ae_bankbalance_p.h
|
||
ae_commodity_p.h
|
||
ae_item_p.h
|
||
ae_job_p.h
|
||
ae_partner_p.h
|
||
ae_recurrence_p.h
|
||
ae_rule_p.h
|
||
ae_split_p.h
|
||
ae_statement_p.h
|
||
ae_load_cellphone_p.h
|
||
ae_task_p.h
|
||
ae_tax_p.h
|
||
ae_transaction_p.h
|
||
ae_vehicle_p.h
|
||
ae_refueling_p.h
|
||
ae_dbconflict_p.h
|
||
ae_dbconflictsolution_p.h
|
||
ae_data_10k_p.h
|
||
ae_counter_type_p.h
|
||
ae_counter_value_p.h
|
||
</setVar>
|
||
|
||
|
||
... | ... | |
ae_data_10k.tm2 ae_data_10k_list.tm2 ae_data_10k_list2.tm2
|
||
ae_counter_type.tm2 ae_counter_type_list.tm2 ae_counter_type_list2.tm2
|
||
ae_counter_value.tm2 ae_counter_value_list.tm2 ae_counter_value_list2.tm2
|
||
ae_price.tm2 ae_price_list.tm2 ae_price_list2.tm2
|
||
</data>
|
||
|
||
<extradist>
|
src/lib/aqfinance/engine/lib/book/ae_book.c | ||
---|---|---|
AE_BOOK_TABLENAME_STORAGE,
|
||
AE_BOOK_TABLENAME_STORAGECOSTRECURRENCE,
|
||
|
||
AE_BOOK_TABLENAME_SHAREPRICE,
|
||
NULL
|
||
};
|
||
|
||
... | ... | |
AE_Book_TableType_TradeItem,
|
||
AE_Book_TableType_Storage,
|
||
AE_Book_TableType_StorageCostRecurrence,
|
||
AE_Book_TableType_SharePrice,
|
||
|
||
AE_Book_TableType_Last
|
||
};
|
src/lib/aqfinance/engine/lib/book/ae_book.h | ||
---|---|---|
AE_Book_TableType_TradeItem,
|
||
AE_Book_TableType_Storage,
|
||
AE_Book_TableType_StorageCostRecurrence,
|
||
AE_Book_TableType_SharePrice,
|
||
|
||
AE_Book_TableType_Last
|
||
} AE_BOOK_TABLE_TYPE;
|
||
... | ... | |
#include <aqfinance/engine/lib/book/trade/ae_trade.h>
|
||
#include <aqfinance/engine/lib/book/trade/ae_trade_item.h>
|
||
#include <aqfinance/engine/lib/book/trade/ae_storage.h>
|
||
#include <aqfinance/engine/lib/book/ae_price.h>
|
||
|
||
|
||
#include <aqfinance/report2/af_report2.h>
|
||
... | ... | |
|
||
|
||
|
||
AE_API int AE_Book_ReadPrice(AE_BOOK *b, AE_BOOK_TABLE_TYPE tt, AQDB_ID elemId, AE_PRICE **pst);
|
||
AE_API int AE_Book_ReadPriceList(AE_BOOK *b, AE_BOOK_TABLE_TYPE tt, AE_PRICE_LIST *lst);
|
||
AE_API int AE_Book_QueryPriceList(AE_BOOK *b, AE_BOOK_TABLE_TYPE tt, AQDB_ID refQueryId, const char *qexpr,
|
||
AE_PRICE_LIST *elist);
|
||
AE_API int AE_Book_AddPrice(AE_BOOK *b, AE_BOOK_TABLE_TYPE tt, AE_PRICE *elem, int doLock);
|
||
AE_API int AE_Book_WritePrice(AE_BOOK *b, AE_BOOK_TABLE_TYPE tt, const AE_PRICE *elem, int doLock);
|
||
AE_API int AE_Book_DeletePrice(AE_BOOK *b, AE_BOOK_TABLE_TYPE tt, const AE_PRICE *elem, int doLock);
|
||
|
||
|
||
|
||
/*@}*/
|
||
|
||
|
src/lib/aqfinance/engine/lib/book/ae_book_p.h | ||
---|---|---|
#define AE_BOOK_TABLENAME_STORAGE "storage"
|
||
#define AE_BOOK_TABLENAME_STORAGECOSTRECURRENCE "storagecostrecurrence"
|
||
|
||
#define AE_BOOK_TABLENAME_SHAREPRICE "shareprice"
|
||
|
||
|
||
|
||
struct AE_BOOK {
|
src/lib/aqfinance/engine/lib/book/ae_book_read.c | ||
---|---|---|
READ_TYPE(TradeItem, TRADE_ITEM)
|
||
READ_TYPE(Storage, STORAGE)
|
||
|
||
READ_TYPE(Price, PRICE)
|
||
|
||
|
||
|
||
|
||
int AE_Book_ReadTransactionSplits(AE_BOOK *b,
|
src/lib/aqfinance/engine/lib/book/ae_book_write.c | ||
---|---|---|
WRITE_TYPE(TradeItem, TRADE_ITEM)
|
||
WRITE_TYPE(Storage, STORAGE)
|
||
|
||
WRITE_TYPE(Price, PRICE)
|
||
|
||
|
||
#undef WRITE_TYPE
|
||
|
Auch abrufbar als: Unified diff
Enabled class AE_PRICE.