Problems encountered when creating journals in GL

Source: Internet
Author: User
Problem description:
As shown in:

In this example, jouranl only has one credential, And the credential has been transferred. It is reasonable to say that the journal balance should be 0, but what is the 0.01 here? I have not modified the database. This is done through the normal functions of the system.
View CodeThere are some problems with the code logic.
If you change the credential time, for example, from to, and the exchange rate of the two time periods is different, the problem may occur.
For example, the exchange rate between the dollar and the euro is as follows:
: 115.07: 100
: 115.06: 100
When the creden are started, the date is, and later an error is found in Date input. Therefore, in the debit's row, that is, the first line, the date is changed. at this time, the borrower per voucher is changed to 115.06, but the lender is still 115. 07. this will produce such a strange phenomenon. of course, this phenomenon does not affect normal account transfers, but it is strange to put it here.
Solution:
The value displayed on the Interface value is controlled through the ledgerjournalengine class. Maybe the MS programmer considers the efficiency issue and triggers the active and write events of the grid row each time, this error is caused by not recalculating the sum and modifying the sum. modify the corresponding method in the ledgerjournalengine class and let it re-calculate and capture data. The slow speed is always better.

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.