[
https://issues.apache.org/jira/browse/OFBIZ-10931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283191#comment-17283191 ]
Michael Brohl commented on OFBIZ-10931:
---------------------------------------
Removing affects versions except trunk because this is an improvement (no bug).
> Improve the selection of the parent period for CustomTimePeriod update
> ----------------------------------------------------------------------
>
> Key: OFBIZ-10931
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10931> Project: OFBiz
> Issue Type: Improvement
> Components: accounting
> Affects Versions: Release Branch 16.11, Trunk
> Reporter: Pierre Smits
> Assignee: Pierre Smits
> Priority: Major
> Labels: CustomTimePeriod
>
> Currently in the overviews of Edit Custom Time Periods screen (see [1]) the user can select a parent period for any given period record. This is done through a drop down widget from EditCustomTimePeriod.ftl
> The construct for the values shown is:
> # the organisationPartyId,
> # the periodTypeId, and
> # the periodNum
> # the customPeriodId
> The page shows the drop-down values as following examples:
> * Company Fiscal Quarter: 2 [6011]
>
> * Company Fiscal Quarter: 3 [6012]
> * Company Fiscal Quarter: 5 [6014]
> * Company Fiscal Quarter: 2 [6016]
> * Company Fiscal Quarter: 3 [6017]
> * Company Fiscal Year: 1 [6010]
> * Company Fiscal Year: 1 [6015]
> As can be observed, the information provided is confusing. And when the number of periods to select from gets long (consider the hierarchy: month-quarter-year) it is easy to make mistakes.
> Furthermore, given that there is a hierarchy between periods, it should not be possible to select a period that is outside the higher order. Meaning there is a FISCAL_MONTH defined for say fromDate=2019-03-01 and thruDate = 2019-03-31, then It can not belong to a FISCAL_YEAR that either ends before the fromDate of the FISCAL_MONTH period or start after the thruDate of the FISCAL_MONTH.
>
>
>
> [1]
https://demo-stable.ofbiz.apache.org/accounting/control/EditCustomTimePeriod--
This message was sent by Atlassian Jira
(v8.3.4#803005)