[
https://issues.apache.org/jira/browse/OFBIZ-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659057#action_12659057
]
David E. Jones commented on OFBIZ-2097:
---------------------------------------
Using it as a default would be fine, as long as we really treat it as a
default. To me that means:
1. the name always includes "default", ie "defaulOrganizationPartyId"
2. wherever it is used it is the default selected option (unless a more "local"
default is applicable), but the user can always select other options before
applying the default (ie not require going back and changing something after
the default has been applied as that tends to be rather error-prone
3. if a more "local" default is applicable that should be used, like in the
WorkEffort scenario where a project may already have an organization associated
with it, and that is a better "default" than the user's generic default
organization
> show organizationPartyId in header, rewrote financial history for a party in
> relation to the organizationParty
> --------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-2097
> URL: https://issues.apache.org/jira/browse/OFBIZ-2097
> Project: OFBiz
> Issue Type: Improvement
> Components: accounting, party
> Affects Versions: SVN trunk
> Reporter: Hans Bakker
> Assignee: Hans Bakker
> Fix For: SVN trunk
>
> Attachments: organizationPartyHist.diff
>
>
> Because this is a rather bigger change i first put it as proposal. When no
> major objections i will commit it in a few days.
> first of all if only one currency is being used for the currency of the
> organizationPartyId, there are no changes to the system.
> So, when I was changing the financial history to accommodate invoices being
> in different currency as the organization partyId, I saw that having the
> current organizationPartyId defined, is an essential requirement. Building on
> the organizationPartyId in preferences it is required to know at any time
> what the current assignment is. That is why I added it to the global context
> and show it on the top header.
> The invoice/payment worker was changed to be able to select the currency to
> be displayed.
> The changes more in detail:
> 1. introduced 2 new variables in the global context:
> a. organizationPartyId
> b. organizationPartyUomId
> the organizationPartyId is stored in the users preferences and can be changed
> there.
> Created a new entry in general.properties to define a default
> organizationPartyId when not set for the current logged in user.
> Showed the organizationPartyId in the header now. It gets a bit full there
> perhaps we should move the language and location to the user preferences
> screen because not change often?
> 2. Paymentworker and Invoice worker if now aware of the different invoice
> currencies and invoice amounts can now be retrieved in the actual or
> organizationPartyUomId currency. If everything is the organizationParty
> currency, there is no functional change to the system
> 3. Financial history now displays these two currencies when available making
> use of the new new payment/invoice worker methods.
> 4. New payment screen entry now only allows Disbursement and Taxpayment for
> outgoing payments and receipts for incoming payments.
> 5. removed many 'key-field-name' entries where not required in the payment
> forms
> 6. invoice PDF button "other currency" now only shows if there is a other
> currency available
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.