Monthly close Function

Source: Internet
Author: User

There are two accounting equations
Static equations: Assets = Liabilities + owner equity
Dynamic equality: profit = income-cost
The two can be combined into one
Assets = Liabilities + owner benefits + income-cost
Foreign software mostly adopts the TABLE statement method, that is to say, when the report is generated, the current year's profit is calculated dynamically based on the income and cost, and no creden are generated. Domestic software adopts the statement, generate the following two creden:
1. carry-over income
DR: various sales revenue
Cr: current year's profit
Sales return
2. Carry-over fees
DR: current year's profit
Cr: sales cost
Business Management, financial periods, fees
Income tax fees, etc.
In this way, the sum of the monthly settlement income accounts is zero.
1. Create a template
For more flexibility, it is best to customize the subjects to be carried over, so you need to create a template for users to use, as shown in:

The evaluation formula is used to indicate how to calculate the balance, write a class to store the calculation methods of various balances, and then call the formula when the monthly settlement is performed, this is also an application of the legendary policy model.
2. Monthly close action
The next step is to generate the monthly settlement creden. Based on the subjects and calculation methods set in the template. As for the generation method of monthly settlement creden., we will not go into details here.

In this way, the monthly certificate is OK.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.