Custom time entity "Current week" error

Guillermo Abascal
Guillermo Abascal Active Partner
Third Anniversary 10 Comments Level 100: Foundations of Building in Board
edited September 2020 in Platform
Hi Community

I have a unusual error regarding a custom time entity. Let me at first comment you that the issue is only regarding the custom time entity "actual week". The translations for the entities in use are below, for a fast understanding in case you don't know spanish:

Dia = day
Semana = week
Semana actual = actual week

Returning to the topic, my "Actual week" entity has the following members:

Semanas Previas = Previous weeks
Semana -4
Semana -3
Semana -2
Semana -1
Semana actual
Semana +1 
Semana +2 
Semana +3
Semana +4
Semana próximas = upcoming weeks

And the relationships has been set up as it is shown in the image below:


image


image




I also extracted the day tree (attached in this message), and everything seems just fine.
Nevertheless, I am experiencing an error on the screens when the day selector and the "actual week" selectors interact between each other. Specifically, when there is a selection over day, and then I try to select a week from the "actual week" selector. It happens the following:


image


And while this is happening if I open the screen selections, it can be seen that there are 2 selections applied, 1 over day and the other over "actual week".

image


I realized that if I hit refresh when this happens, the issue gets solved, so I came up with the following solution, I put a label over the "actual week" selector that execute a procedure with an interactive selection over this entity that ends with a refresh, and this works fine. However, I would like to know why this is happening and if it is possible, how to solve it.

Thanks in advance for the help

Cheers

------------------------------
Guillermo Abascal

------------------------------

Answers

  • Andrew Hodgson
    Andrew Hodgson Customer
    Second Anniversary First Comment Photogenic
    edited October 2020
    Hey there. I think this is happening because "day" is at the lowest level, and a selection on day likely overrules the selection on week. In other words the selection on day probably needs to be cleared before you can select a different week.

    I've had similar things happen in a product hierarchy - so I don't think this is specific to your use of custom time entities. I suspect others users have also experienced this. I'm not sure if it can be considered an error, as it is likely just the symptom of incompatible selections.

    Regards
    Andrew

    ------------------------------
    Andrew Hodgson
    Senior Finance Manager
    Bankwest
    Australia
    ------------------------------
    -------------------------------------------