Openbravo Issue Tracking System - Modules
View Issue Details
0013980ModulesAccruals and Deferralspublic2010-07-16 12:582010-08-26 16:28
networkb 
sathiyan 
immediateminoralways
closedfixed 
5
 
1.0.8 
OBPS
0013980: Error on the Accruals and Deferrals plan's data
If we have an invoice with invoice date 15-07-2010, when we complete it the second data on Accruals and Deferrals plan has Accounting date 01-07-2010

Note added by psanjuan = this is not correct as it should be:
"If we have an invoice with an "accounting date" 15-07-2010, when we complete it the second data on Accruals and Deferrals plan has Accounting date 01-07-2010"
- As Openbravo General Setup || Client || Client || Client >> Information
- Acc. and Def. Calculation: Monthly

- Go to Procurement Management || Transactions || Purchase Invoice
- Create a new record:
    - Acc. and Def. Type: Prepaid expenses
    - invoice date : 01-07-2010 (new step by psanjuan)
    - accounting date: 15-07-2010 (new step added by psanjuan)
    - Date From: 15-07-2010
    - Date To: 14-07-2011
- go to Lines:
    - Product: hat
    - Net Unit Price: 12000

- go back to the header, complete and post
- go to Header >> Accruals and Deferrals Plan
- Realize that the second data has Accounting Date 01-07-2010

But it should be 15/07/2010
No tags attached.
Issue History
2010-07-16 12:58networkbNew Issue
2010-07-16 12:58networkbAssigned To => sathiyan
2010-07-16 12:58networkbOBNetwork customer => Yes
2010-07-16 16:34rafarodaIssue Monitored: rafaroda
2010-07-16 16:50networkbSummaryThe GL journal does not show Accruals and deferrals' data => Error on the Accruals and Deferrals plan's data
2010-07-16 16:50networkbDescription Updatedbug_revision_view_page.php?rev_id=590#r590
2010-07-16 16:50networkbSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=592#r592
2010-07-16 17:18psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=593#r593
2010-07-16 19:20hgbotCheckin
2010-07-16 19:20hgbotNote Added: 0029372
2010-07-16 19:20hgbotStatusnew => resolved
2010-07-16 19:20hgbotResolutionopen => fixed
2010-07-16 19:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.accrualsanddeferrals/rev/50a5539c34573277dd5abf55f0f3be183e7d5d18 [^]
2010-08-23 13:57psanjuanNote Added: 0030227
2010-08-23 13:57psanjuanStatusresolved => new
2010-08-26 13:34sathiyanStatusnew => scheduled
2010-08-26 13:34sathiyanfix_in_branch => pi
2010-08-26 13:34sathiyanStatusscheduled => resolved
2010-08-26 16:10psanjuanfix_in_branchpi =>
2010-08-26 16:10psanjuanDescription Updatedbug_revision_view_page.php?rev_id=738#r738
2010-08-26 16:10psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=739#r739
2010-08-26 16:12psanjuanNote Added: 0030372
2010-08-26 16:15psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=740#r740
2010-08-26 16:24psanjuanNote Edited: 0030372bug_revision_view_page.php?bugnote_id=0030372#r742
2010-08-26 16:26psanjuanNote Edited: 0030372bug_revision_view_page.php?bugnote_id=0030372#r743
2010-08-26 16:28psanjuanStatusresolved => closed
2010-08-26 16:28psanjuanFixed in Version => 1.0.8

Notes
(0029372)
hgbot   
2010-07-16 19:20   
Repository: erp/pmods/org.openbravo.accrualsanddeferrals
Changeset: 50a5539c34573277dd5abf55f0f3be183e7d5d18
Author: Sathiyan Sivaprakasam <sathiyan.sivaprakasam <at> openbravo.com>
Date: Fri Jul 16 22:49:50 2010 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.accrualsanddeferrals/rev/50a5539c34573277dd5abf55f0f3be183e7d5d18 [^]

Fixed Issue 13980: Error on the Accruals and Deferrals plan's data

---
M src-db/database/model/functions/ACCDEF_GENERATE_PLAN.xml
M src-db/database/sourcedata/AD_MODULE.xml
---
(0030227)
psanjuan   
2010-08-23 13:57   
An issue can not be set as resolved until the new module is published in test mode.
(0030372)
psanjuan   
2010-08-26 16:12   
(edited on: 2010-08-26 16:26)
bug fixed and tested.
In case the accounting date is 01-07-2010 (and the invoice date 15/07/2010) the accounting date in the Accruals and Deferrals plan is 01-07-2010
In case the accounting date is 15-07-2010 (and the invoice date 01/07/2010) the accounting date in the Accruals and Deferrals plan is 15-07-2010

Also tested for both Prepaid Expense and other liabilities.
And also tested in Sales Invoices for Deferred income and other receivables
Fixed in Acc & Def module version 1.0.8