AMV group master prompt? (AREV Specific)
At 15 MAY 2006 04:30:46PM Michael Slack wrote:
We're running on AREV 3.12. In the Window Common Reference manual for the WC_AMV_VARS% description on page 4, within the AMV_DEPTH$ description it mentions a "master prompt". I couldn't find anything that said which prompt in a multivalue group is the master prompt. Am I right in assuming that the first prompt number listed in the WC_AMV% group is the master prompt?
Thanks,
Michael Slack
At 16 MAY 2006 08:15AM Dave Harmacek wrote:
This is not defined in the dictionary, but in each window. The first prompt in each window's AMV group is indeed the master prompt.
If you are updating using the AREV common then you must also know that the group number is numbered sequentially using the prompt order. Thus, is you were to insert a new group between group numbers 1 and 2, that new one becomes group 2 and 2 become 3.
At 16 MAY 2006 10:06AM Michael Slack wrote:
Thanks Dave:
We have a situation where a group of AMV multivalue prompts where one of the required prompts can have null values (usually an inserted line item). This causes problems elsewere and I'm looking into writing a routine in the window's Pre-Save to check that each required prompt in the group has a non-null value for each of the master prompt's values.Apprently on a required multivalue prompt, the AREV system check just checks to see if the whole prompt has a value or not (unless I'm doing something wrong in the setup of the prompt). So just by having value marks it satisfies that condition. Thus I need to write a little something that will check a little further down into the weeds.My pseudo code so far takes into account the possibility that a group may shift or even dissapear.Thanks,
Michael Slack
At 16 MAY 2006 06:34PM support@sprezzatura.com wrote:
Not 100% sure this is what you are looking for, but highlight the prompt, hit SF6, and look at the "Mandatory" prompt, near the upper right.
From the F1 help:
This field allows the developer to decide if the controling value of an AMV group is allowed to be deleted.
If this field is set to Yes, then the user will not be able to delete any item in the first field of an AMV group.
If this field is set to No or left blank, then the user will be able to delete the first field of an AMV group.
This field only has effects on the first field of an AMV group.
support@sprezzatura.com
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
At 17 MAY 2006 09:33AM Michael Slack wrote:
Thanks for the information. I'm going to have to look into this much further but it sounds like it might be of help to my immediate need.
Thanks,
Michael Slack