Skip to main content
Merged

Call context procedure when adding a record

Related products:Software FactoryWindows GUIUniversal GUI

htimmermans
Captain

Currently the context procedure is not being called when adding a record. I wonder why and what the drawback of this could be.

When the context procedure is called when adding a record each time a default procedure (if any) would be called, the following could be achieved in the application:

When creating a new order for (in this case) a vehicle, it could be the case that a vehicle is not known in the database. So while adding and no vehicle is yet selected, a task is available to the user to create a vehicle with the minimum of known information entered as parameters. A vehicle is created with a “request” status, someone else can enter all viable information at a later point in time….

The new vehicle_id is an output parameter en will be entered in the new order's field….

But with a context procedure not being called at this stage, I can't hide or show the task and someone can keep clicking on it, creating one after the other partially entered vehicle…

I could circumvent this with a default and layout procedure in the task, but I'd rather see the task hidden completely when a vehicle_id is entered while adding a new order….

Long story short: why not call the context procedure always the same time when calling a default procedure (at least when adding a new row)….

Did this topic help you find an answer to your question?

4 replies

htimmermans
Captain
Forum|alt.badge.img+12
  • Author
  • Captain
  • 61 replies
  • June 26, 2020

In hindsight, the context is not the problem; perhaps a better solution is a change in the GUI. Now all tasks are disabled by the GUI when adding a record, as far as I can tell.

When a new field is added in SF table tab_task (allow when adding record), such a task could stay enabled (the programmer should of course know why and what the underlying idea of the task is).


Jasper
Superhero
  • 678 replies
  • October 28, 2020
Updated idea status NewOpen

Forum|alt.badge.img
  • Apprentice
  • 6 replies
  • April 29, 2021

I have a similar problem with detail tiles. When I am adding a new record, there is no primary key yet, so the detail screen will show nothing. I would like this detail tile to be hidden when I am adding a new record. Is there any update on this idea?


Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • 1030 replies
  • February 18, 2025
Updated idea statusOpenMerged
Idea merged into:

All the votes from this idea have been transferred.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings