HubCloud uses Registers to save recorder data. Registers are tables with specified columns.
Example:
We need to implement the simplest accounting in a trading company. To solve this case, it is necessary to record information on received/sold products and information on the status of mutual settlements with suppliers/buyers.
For that we need to create a Products table with the following columns:
Period – to record the date and time of receipt/write-off of goods.
Company – Our company in which the operation occurred.
Product – products that received or sold.
Store – Place of storage of products.
Quantity – The number of products received or sold.
Amount – The value of the products that received or sold.
Currency – The currency of the transaction.
Comment – Free text information.
Period | Company | Store | Product | Quantity | Amount | Currency | Comment |
2020-01-01 | Main | First | Product1 | 10 | 10 | USD | |
2020-01-03 | Main | First | Product2 | -20 | -40 | USD |
Debit or Credit transactions are implemented as records with (+) or ( -)