Product Configurator Popup Message

Doh, figured it out....FieldHeight won't work on a dropdown because those are frozen at 21.  However you can change the height of a character field (single value) or browser field with it.

Looks like FieldLabel('Field',"NewLabel") works as well. 
 
I am working on some code within the Product configurator and would like to have a popup message trigger.
Currently I am trying to use a MESSAGE statement but cannot get it to work.

Does anyone know how I can get a popup message to appear?

Thanks 


What version? and when do you wanna trigger it?


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Thu, Mar 24, 2016 at 10:40 AM, clive.gillett@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>I am working on some code within the Product configurator and would like to have a popup message trigger.</p><div>Currently I am trying to use a MESSAGE statement but cannot get it to work.</div><div><br></div><div>Does anyone know how I can get a popup message to appear?</div><div><br></div><div>Thanks <br><p><span><br></span></p></div><p></p>

</div>
 


<div style="color:#fff;min-height:0;"></div>

I am on 9.04.507A and I was hoping to code it as part of an Input's OnLeave statement.

There is no pop-up in ABL that I found.  I had a text box that I made visible/invisible with any message I wanted shown.  E10 is way cooler with its abilities to pop-up messages and forms.

 

Brenda

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Thursday, March 24, 2016 11:03 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Product Configurator Popup Message

 

 

I am on 9.04.507A and I was hoping to code it as part of an Input's OnLeave statement.

In E10 very easy.

In E9, no standard way. There is an unsupported way, I would need to dig around to find it as I typically don't use it. 

Typically I put a text box on the screen where I put any messages I want the user to see.  To prevent the user from leaving the screen until they fix everything I add another textbox that is required with the prompt when false so the user can't update it.  Then using on-leave code I either populate or clear the required textbox depending whether all requirements have been met.  The text box where I put messages explains why they can't leave.

Jim Kinneman
Encompass Solutions, Inc.
Try this, I Have NO Idea if it will work or not never tried in configurator

{lib\PublishInfoMsg.i &InfoMsg = "'WARNING! ' + STRING(ttOrderDtl.TotalPrice) "}.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Thu, Mar 24, 2016 at 11:03 AM, clive.gillett@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>I am on 9.04.507A and I was hoping to code it as part of an Input&#39;s OnLeave statement.</p>

</div><span class="ygrps-yiv-880772292">
 


<div style="color:#fff;min-height:0;"></div>


I downloaded an ABL OpenEdge Development Handbook for 10.1C but I find that not everything in there works within Epicor. I like the idea of making a text box visible however.

I was hoping to use the popup as a means to debug my code as it is not behaving well.
Thanks. Did not work. 
Syntax error 247.

** Unable to understand after -- "publish".(247)
Here's some E10 configurator code. It's in the OnPageLeave expression.

// check for pull type hitch and gauge wheels entered
bool bad = false;

if (Inputs.GaugeWheelType.Value.Contains("Wheels Included") == true && Inputs.PullTypeHitch.Value == "Pull Type Hitch Included") { bad = true;}

// Zero Quantity Entered
if (bad == true)
{
MessageBox.Show("Verify Pull Type Hitch and Gauge Wheels needed.");
}


On Thu, Mar 24, 2016 at 9:40 AM, clive.gillett@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>I am working on some code within the Product configurator and would like to have a popup message trigger.</p><div>Currently I am trying to use a MESSAGE statement but cannot get it to work.</div><div><br></div><div>Does anyone know how I can get a popup message to appear?</div><div><br></div><div>Thanks <br><p><span><br></span></p></div><p></p>

</div>
 


<div style="color:#fff;min-height:0;"></div>

Is there a way to insert a carriage return or a new line command into a Editor box?

Here is an example:

 

Message10 = (If (humcmbLocation = "") Then ((Message10 + "ERROR - TOOLING LOCATION IS A REQUIRED FIELD"  + CHR(13) + CHR(10))) Else (Message10)).

 

CHR(13) + CHR(10) = CRLF

 

A few other fun things for moving your field position:

 

FieldXPosition('field', 90).

FieldYPosition('field', 260).

FieldInvisible('field', TRUE).

 

 

Brenda

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Thursday, March 24, 2016 1:09 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Product Configurator Popup Message

 

 

Is there a way to insert a carriage return or a new line command into a Editor box?

I figured it out.

I was using an editor box and needed to add it current contents back to itself along with the new line command.

txt_Box = txt_Box + "This is a new Line." + "~n".


Thanks for this Brenda.
Does this work in E9 and E10?

These are E9 examples, but I have E10 examples if you need them.  We started in E9, so I have both.

 

Brenda

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Thursday, March 24, 2016 1:30 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Product Configurator Popup Message

 

 

Thanks for this Brenda.

Does this work in E9 and E10?

Cool, found that this works too: 

FieldWidth('Field',150).

Haven't been able to get "FieldHeight" to work, but the configurator doesn't flag it as invalid syntax.  Not sure how/if that works.