Data center billing, report, and data center billing report

Source: Internet
Author: User

Data center billing, report, and data center billing report

Understanding: checkout is actually a collection of funds, that is, a summary of the work of an operator and administrator on the day, and transfer the funds in their hands to the company's funds.

Optimization: You can add or close the Administrator account when only the operator is finished, and the daily statement of the report shows which operator or administrator has performed the checkout activity on the current day. Therefore, three columns are added to the original checkday table (one auto-incrementing column, one level checkout personnel type column, and the cashier's name column) in this way, the company's boss can view the daily work of administrators and operators and analyze employee performance issues as needed.

First, this is my optimized checkout interface, using two checkbox controls



Then, the overall contact diagram of the checkout and Daily Statement (check_day table) is shown.



Below is the update check_day



Explain the calculation of the previous period balance (RemainCash) and current period balance (AllCash)

Previous period balance (RemainCash): the total number of Allcash records on the day of the previous record (different from the date of the current day) in the table. For example, the RemainCash on January 1, August 19 is the total number of AllCash records on January 1, August 18.

Current period balance (AllCash): previous period balance (RemainCash) + Recharge Amount (RechargeCash)-refund amount (CancelCash)


The final effect of over-reporting is




Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.