Date of receipt, document number warehouse goods company name put in storage amount
Date of payment: document numbering unit name payment amount
Unit balance sheet
Unit name:
Date of beginning balance this debit this period ending balance of credit side
Take a payment take inventory amount
Consult ace, the unit balance table access process, beginning the final calculation of the SQL statement should be how to write?