Skip to content
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

Error when accruing GRNS where order in Foreign currency #56

Open
steveblamey opened this issue Nov 27, 2015 · 2 comments
Open

Error when accruing GRNS where order in Foreign currency #56

steveblamey opened this issue Nov 27, 2015 · 2 comments

Comments

@steveblamey
Copy link
Member

If accruals accounting in ON when accruing an invoice the system posts a journal to accruals control for selected received lines.

If the order is in currency other than base then it seems to be incorrectly calculating the BASE value of the accrual (as GL is in BASE currency all accruals need to be in BASE).

Need to investigate the calculation being done and the effect once an invoice is posted against the received line.

@mshiner
Copy link
Collaborator

mshiner commented Oct 10, 2016

The functions concerned are
Accrual pid=901&action=accrual&controller=porders&module=purchase_order
Invoice creation pid=515&action=createinvoice&controller=porders&module=purchase_order

It looks like there are several problems...

  1. When the accrual is posted the value in currency is MULTIPLIED by the currency rate rather than divided by
  2. When the invoice is subsequently matched no currency or invoice variance is written

There is a wrinkle in that you CAN post match an invoice to a GRN need to check that accruals processing is being done correctly. pid=902&action=match_invoice&controller=porders&module=purchase_order

@mshiner mshiner added this to the 1.7 milestone Oct 10, 2016
@steveblamey steveblamey modified the milestones: 1.7.1, 1.7 Nov 21, 2016
@steveblamey steveblamey modified the milestones: 1.7.1, 1.7.2 Dec 7, 2016
@steveblamey steveblamey removed this from the 1.7.2 milestone Sep 22, 2017
@mshiner
Copy link
Collaborator

mshiner commented Nov 17, 2017

Also change search handler and grid to include currency of order
pid=901&action=accrual&controller=porders&module=purchase_order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants