Pierre Smits created OFBIZ-10931: ------------------------------------ Summary: Have type-ahead function in stead of drop-down 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, Release Branch 17.12, Release Branch 18.12 Reporter: Pierre Smits
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 (v7.6.3#76005)