-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Cost Center Allocation #29536
feat: Cost Center Allocation #29536
Conversation
b93e12e
to
9a7ea9d
Compare
9a7ea9d
to
6099af5
Compare
Codecov Report
@@ Coverage Diff @@
## develop #29536 +/- ##
===========================================
+ Coverage 58.06% 58.31% +0.24%
===========================================
Files 1096 1097 +1
Lines 68778 68812 +34
===========================================
+ Hits 39934 40125 +191
+ Misses 28844 28687 -157
|
99a1f91
to
28bd931
Compare
28bd931
to
5b0ec64
Compare
@nabinhait |
How can this https://docs.erpnext.com/docs/v14/user/manual/en/accounts/distributed-cost-center be deleted ? As distributed cost center is no more available in v14. |
@jigneshpshah Its available in v14 which called cost center allocation |
@sammish please read my comments again 😃 |
Cost Center Allocation
Cost Center Allocation is a feature using which the general ledger entry against a cost center can be split against multiple cost centers. In the Cost Center Allocation document, you can define allocation percentages of the child cost centers.
In a growing business, it becomes a necessity to analyse the income/expenses against each business unit of the organisation. And to do that, we need to treat each businees unit as a cost center and book income/expenses against the cost center. But if we need to split it every time at the transaction level manually, it becomes very difficult. That's when this Cost Center Allocation feature comes to the rescue.
In ERPNext, we just need to define the allocation between multiple cost centers for a specific master/main cost center. Then whenever we book an invoice or expense transaction against the main cost center, the system automatically split it based on allocation and posts gl entries against each child cost center.
GL Entries against Transaction
While booking any transaction against the main cost center, the system automatically split the GL Entry against it and posts multiple gl entries based on the applicable cost center allocation record.
(GL Entries against a Sales Invoice has been splitted based on Cost Center Allocation)
What changed from the earlier Distributed Cost Center?
In version 13, we have a feature called Distributed Cost Center using which you can define the allocation percentages between multiple cost centers. Earlier, we used to do it inside Cost Center master. Based on the allocation, we used to get the multiple financial reports based on the distribution, but it had no effect in the actual GL Entries.
It has certain drawbacks, like it does not take care of changes in the distribution overtime. In the real world, cost center allocation keeps changing over time and based on updated allocation, system should book income/expenses against it. It cannot be calculated run-time.
Patch
A patch has been written to migrate the data from old system to the new.
Docs
https://docs.erpnext.com/docs/v13/user/manual/en/accounts/new?wiki_page_patch=fee1a96a05
Test Cases:
Validations:
Logic:
Reports: