Rule Wizard -EpiShape

 Thanks Jose, If there is no link to a sales order the Order num Box will always read 0.  So i just added anothercondition saying if

SugPoDtlOrderNumEquals_0 then eshCreditHold.Visible = false;

and it works great.  Thanks for your help.  Just had to think outside the box. 



---In vantage@yahoogroups.com, <gabe.lebron@...> wrote:

I cant use Equals =null or Equals Contstant Null vaule.   



---In vantage@yahoogroups.com, <jose@...> wrote:

To reset it you'll have to use a notification or something an street adapter call

On Nov 5, 2013 5:22 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>It works good, I set it to&nbsp;Visible = False&nbsp;&nbsp;if i choose a suggestion that is linked to an order thats on credit hold, then It ran </p><p><span style="font-size:11pt;">epiShapeC1.Visible = true(it appears)</span></p>

epiShapeC1.Status = StatusTypes.Stop (turns it red)

 

Snice there are nulls also it stay that way until I reach one thats false. 

Is there a way to reset if i go to the next one or account for a null?

 

when I hit a false

epiShapeC1.Visible = False

and it stays that way till i hit a true again



---In vantage@yahoogroups.com, <jose@...> wrote:

Set it disabled when the page loads, and if tehre is no connection to your dataview then you are scrwed you can add an Notify event to disable it back... but that can get hairy


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 4:50 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Got it , looks like&nbsp;it needed to be capital E.</p><p>&nbsp;</p><p>It seems to be working&nbsp;and it changes&nbsp;when the field is true false but stay on the last&nbsp;setting if the feild is null.&nbsp; I&nbsp;Tried added a rule for Equlals&nbsp;null but didnt seem to work.&nbsp; is there another way of doing null?<var></var>&nbsp;</p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Enabled


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:39 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Hopfuly we are colse.</p><p>&nbsp;</p><font size="1"><p>--------compile errors------------</p><p>

Error: CS0117 - line 111 (280) - 'Epicor.Mfg.UI.FrameWork.EpiShape' does not contain a definition for 'enabled'

** Compile Failed. **

 


---In vantage@yahoogroups.com, <jose@...> wrote:

The code needs to be syntactically correct, if you are using C# which its the default in 9.05 you need a semicolon at the end of that statement and it would be 
yourepishapename.Enabled = true;

But yes that's the place.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:08 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>thanks for being patient with me</p><p>&nbsp;</p><p><var></var>this is where&nbsp;I put it and got an error.&nbsp; </p><p>&nbsp;</p><p>&nbsp;private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)<br>

 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



—In vantage@yahoogroups.com, <jose@…> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Sorry I am new to this.&nbsp;&nbsp;&nbsp;&nbsp;If I choose Custom Action (Code) then Arrow </p><p>&nbsp;</p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p>&nbsp;</p><p>Not sure&nbsp;where to add this.&nbsp;&nbsp;&nbsp;And I changed the&nbsp;name of&nbsp;my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Ok, So I added a New Row Rule&nbsp; </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p>&nbsp;</p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

 

So your saying enter New Rule Action

And check Custom Action (code)

 

This is where I am stuck  

 

 

 



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works.  The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true.  I assume I need some type of Row Rule but not
sure how or if I have it right so far…

 

 

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);min-height:0px;"></div>

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works.  The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true.  I assume I need some type of Row Rule but not
sure how or if I have it right so far…

 

 

You need to use a Row Rule Wizard and put a condition on your CreditHold Order... then use the Action to Custom and enable the EpiShape.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p></p><p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works. The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true. I assume I need some type of Row Rule but not
sure how or if I have it right so far…

Â

Â

</div>
 


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

Ok, So I added a New Row Rule 

Rule Description : CreditHold

Rule View : CreditHold

 

Select View: CreditHold

Select Filed : CustOnCreditHold

Rule Condition :Equals

Rulw Vaule : Ture

 

So your saying enter New Rule Action

And check Custom Action (code)

 

This is where I am stuck  

 

 

 



---In vantage@yahoogroups.com, <jose@...> wrote:

You need to use a Row Rule Wizard and put a condition on your CreditHold Order... then use the Action to Custom and enable the EpiShape.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works.  The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true.  I assume I need some type of Row Rule but not
sure how or if I have it right so far…

 

 

</div>
 


<div style="color:rgb(255, 255, 255);min-height:0px;"></div>

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@…

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p></p><p>Ok, So I added a New Row Rule  </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p> </p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

Â

So your saying enter New Rule Action

And check Custom Action (code)

Â

This is where I am stuck Â

Â

Â

Â



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works. The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true. I assume I need some type of Row Rule but not
sure how or if I have it right so far…

Â

Â

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


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

Sorry I am new to this.    If I choose Custom Action (Code) then Arrow

 

I get RuleActionDelegate I undate code then go to Scrpit Editor tab

 

Not sure where to add this.   And I changed the name of my shape to eshCreditHold So do I use eshCreditHold.enable= true



---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Ok, So I added a New Row Rule&nbsp; </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p>&nbsp;</p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

 

So your saying enter New Rule Action

And check Custom Action (code)

 

This is where I am stuck  

 

 

 



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works.  The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true.  I assume I need some type of Row Rule but not
sure how or if I have it right so far…

 

 

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);min-height:0px;"></div>

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p></p><p>Sorry I am new to this.    If I choose Custom Action (Code) then Arrow </p><p> </p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p> </p><p>Not sure where to add this.   And I changed the name of my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

E: jose@...

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Ok, So I added a New Row Rule  </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p> </p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

Â

So your saying enter New Rule Action

And check Custom Action (code)

Â

This is where I am stuck Â

Â

Â

Â



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works. The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true. I assume I need some type of Row Rule but not
sure how or if I have it right so far…

Â

Â

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


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

thanks for being patient with me

 

this is where I put it and got an error. 

 

 private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)
 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



---In vantage@yahoogroups.com, <jose@...> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Sorry I am new to this.&nbsp;&nbsp;&nbsp;&nbsp;If I choose Custom Action (Code) then Arrow </p><p>&nbsp;</p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p>&nbsp;</p><p>Not sure&nbsp;where to add this.&nbsp;&nbsp;&nbsp;And I changed the&nbsp;name of&nbsp;my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Ok, So I added a New Row Rule&nbsp; </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p>&nbsp;</p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

 

So your saying enter New Rule Action

And check Custom Action (code)

 

This is where I am stuck  

 

 

 



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works.  The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true.  I assume I need some type of Row Rule but not
sure how or if I have it right so far…

 

 

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);min-height:0px;"></div>

The code needs to be syntactically correct, if you are using C# which its the default in 9.05 you need a semicolon at the end of that statement and it would beÂ
yourepishapename.Enabled = true;

But yes that's the place.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:08 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p></p><p>thanks for being patient with me</p><p> </p><p><var></var>this is where I put it and got an error.  </p><p> </p><p> private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)<br>

 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



—In vantage@yahoogroups.com, <jose@…> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Sorry I am new to this.    If I choose Custom Action (Code) then Arrow </p><p> </p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p> </p><p>Not sure where to add this.   And I changed the name of my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

E: jose@...

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Ok, So I added a New Row Rule  </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p> </p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

Â

So your saying enter New Rule Action

And check Custom Action (code)

Â

This is where I am stuck Â

Â

Â

Â



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works. The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true. I assume I need some type of Row Rule but not
sure how or if I have it right so far…

Â

Â

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


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

Hopfuly we are colse.

 

--------compile errors------------

Error: CS0117 - line 111 (280) - 'Epicor.Mfg.UI.FrameWork.EpiShape' does not contain a definition for 'enabled'

** Compile Failed. **

 


---In vantage@yahoogroups.com, <jose@...> wrote:

The code needs to be syntactically correct, if you are using C# which its the default in 9.05 you need a semicolon at the end of that statement and it would be 
yourepishapename.Enabled = true;

But yes that's the place.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:08 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>thanks for being patient with me</p><p>&nbsp;</p><p><var></var>this is where&nbsp;I put it and got an error.&nbsp; </p><p>&nbsp;</p><p>&nbsp;private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)<br>

 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



—In vantage@yahoogroups.com, <jose@…> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Sorry I am new to this.&nbsp;&nbsp;&nbsp;&nbsp;If I choose Custom Action (Code) then Arrow </p><p>&nbsp;</p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p>&nbsp;</p><p>Not sure&nbsp;where to add this.&nbsp;&nbsp;&nbsp;And I changed the&nbsp;name of&nbsp;my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Ok, So I added a New Row Rule&nbsp; </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p>&nbsp;</p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

 

So your saying enter New Rule Action

And check Custom Action (code)

 

This is where I am stuck  

 

 

 



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works.  The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true.  I assume I need some type of Row Rule but not
sure how or if I have it right so far…

 

 

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);min-height:0px;"></div>

Enabled


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

E: jose@…

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:39 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p></p><p>Hopfuly we are colse.</p><p>Â </p><font size="1"><p>--------compile errors------------</p><p>

Error: CS0117 - line 111 (280) - 'Epicor.Mfg.UI.FrameWork.EpiShape' does not contain a definition for 'enabled'

** Compile Failed. **

Â


---In vantage@yahoogroups.com, <jose@...> wrote:

The code needs to be syntactically correct, if you are using C# which its the default in 9.05 you need a semicolon at the end of that statement and it would beÂ
yourepishapename.Enabled = true;

But yes that's the place.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:08 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>thanks for being patient with me</p><p> </p><p><var></var>this is where I put it and got an error.  </p><p> </p><p> private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)<br>

 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



—In vantage@yahoogroups.com, <jose@…> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Sorry I am new to this.    If I choose Custom Action (Code) then Arrow </p><p> </p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p> </p><p>Not sure where to add this.   And I changed the name of my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

E: jose@...

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Ok, So I added a New Row Rule  </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p> </p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

Â

So your saying enter New Rule Action

And check Custom Action (code)

Â

This is where I am stuck Â

Â

Â

Â



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works. The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true. I assume I need some type of Row Rule but not
sure how or if I have it right so far…

Â

Â

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


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

Got it , looks like it needed to be capital E.

 

It seems to be working and it changes when the field is true false but stay on the last setting if the feild is null.  I Tried added a rule for Equlals null but didnt seem to work.  is there another way of doing null? 



---In vantage@yahoogroups.com, <jose@...> wrote:

Enabled


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:39 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Hopfuly we are colse.</p><p>&nbsp;</p><font size="1"><p>--------compile errors------------</p><p>

Error: CS0117 - line 111 (280) - 'Epicor.Mfg.UI.FrameWork.EpiShape' does not contain a definition for 'enabled'

** Compile Failed. **

 


---In vantage@yahoogroups.com, <jose@...> wrote:

The code needs to be syntactically correct, if you are using C# which its the default in 9.05 you need a semicolon at the end of that statement and it would be 
yourepishapename.Enabled = true;

But yes that's the place.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:08 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>thanks for being patient with me</p><p>&nbsp;</p><p><var></var>this is where&nbsp;I put it and got an error.&nbsp; </p><p>&nbsp;</p><p>&nbsp;private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)<br>

 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



—In vantage@yahoogroups.com, <jose@…> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Sorry I am new to this.&nbsp;&nbsp;&nbsp;&nbsp;If I choose Custom Action (Code) then Arrow </p><p>&nbsp;</p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p>&nbsp;</p><p>Not sure&nbsp;where to add this.&nbsp;&nbsp;&nbsp;And I changed the&nbsp;name of&nbsp;my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Ok, So I added a New Row Rule&nbsp; </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p>&nbsp;</p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

 

So your saying enter New Rule Action

And check Custom Action (code)

 

This is where I am stuck  

 

 

 



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works.  The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true.  I assume I need some type of Row Rule but not
sure how or if I have it right so far…

 

 

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);min-height:0px;"></div>

Set it disabled when the page loads, and if tehre is no connection to your dataview then you are scrwed you can add an Notify event to disable it back... but that can get hairy


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 4:50 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p></p><p>Got it , looks like it needed to be capital E.</p><p> </p><p>It seems to be working and it changes when the field is true false but stay on the last setting if the feild is null.  I Tried added a rule for Equlals null but didnt seem to work.  is there another way of doing null?<var></var> </p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Enabled


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

E: jose@…

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:39 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Hopfuly we are colse.</p><p>Â </p><font size="1"><p>--------compile errors------------</p><p>

Error: CS0117 - line 111 (280) - 'Epicor.Mfg.UI.FrameWork.EpiShape' does not contain a definition for 'enabled'

** Compile Failed. **

Â


---In vantage@yahoogroups.com, <jose@...> wrote:

The code needs to be syntactically correct, if you are using C# which its the default in 9.05 you need a semicolon at the end of that statement and it would beÂ
yourepishapename.Enabled = true;

But yes that's the place.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:08 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>thanks for being patient with me</p><p> </p><p><var></var>this is where I put it and got an error.  </p><p> </p><p> private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)<br>

 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



—In vantage@yahoogroups.com, <jose@…> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Sorry I am new to this.    If I choose Custom Action (Code) then Arrow </p><p> </p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p> </p><p>Not sure where to add this.   And I changed the name of my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

E: jose@...

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Ok, So I added a New Row Rule  </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p> </p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

Â

So your saying enter New Rule Action

And check Custom Action (code)

Â

This is where I am stuck Â

Â

Â

Â



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works. The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true. I assume I need some type of Row Rule but not
sure how or if I have it right so far…

Â

Â

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


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

It works good, I set it to Visible = False  if i choose a suggestion that is linked to an order thats on credit hold, then It ran

epiShapeC1.Visible = true(it appears)

epiShapeC1.Status = StatusTypes.Stop (turns it red)

 

Snice there are nulls also it stay that way until I reach one thats false. 

Is there a way to reset if i go to the next one or account for a null?

 

when I hit a false

epiShapeC1.Visible = False

and it stays that way till i hit a true again



---In vantage@yahoogroups.com, <jose@...> wrote:

Set it disabled when the page loads, and if tehre is no connection to your dataview then you are scrwed you can add an Notify event to disable it back... but that can get hairy


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 4:50 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Got it , looks like&nbsp;it needed to be capital E.</p><p>&nbsp;</p><p>It seems to be working&nbsp;and it changes&nbsp;when the field is true false but stay on the last&nbsp;setting if the feild is null.&nbsp; I&nbsp;Tried added a rule for Equlals&nbsp;null but didnt seem to work.&nbsp; is there another way of doing null?<var></var>&nbsp;</p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Enabled


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:39 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Hopfuly we are colse.</p><p>&nbsp;</p><font size="1"><p>--------compile errors------------</p><p>

Error: CS0117 - line 111 (280) - 'Epicor.Mfg.UI.FrameWork.EpiShape' does not contain a definition for 'enabled'

** Compile Failed. **

 


---In vantage@yahoogroups.com, <jose@...> wrote:

The code needs to be syntactically correct, if you are using C# which its the default in 9.05 you need a semicolon at the end of that statement and it would be 
yourepishapename.Enabled = true;

But yes that's the place.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:08 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>thanks for being patient with me</p><p>&nbsp;</p><p><var></var>this is where&nbsp;I put it and got an error.&nbsp; </p><p>&nbsp;</p><p>&nbsp;private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)<br>

 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



—In vantage@yahoogroups.com, <jose@…> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Sorry I am new to this.&nbsp;&nbsp;&nbsp;&nbsp;If I choose Custom Action (Code) then Arrow </p><p>&nbsp;</p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p>&nbsp;</p><p>Not sure&nbsp;where to add this.&nbsp;&nbsp;&nbsp;And I changed the&nbsp;name of&nbsp;my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Ok, So I added a New Row Rule&nbsp; </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p>&nbsp;</p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

 

So your saying enter New Rule Action

And check Custom Action (code)

 

This is where I am stuck  

 

 

 



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works.  The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true.  I assume I need some type of Row Rule but not
sure how or if I have it right so far…

 

 

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);min-height:0px;"></div>

To reset it you'll have to use a notification or something an street adapter call

On Nov 5, 2013 5:22 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p><p>It works good, I set it to Visible = False  if i choose a suggestion that is linked to an order thats on credit hold, then It ran </p><p><span style="font-size:11pt;">epiShapeC1.Visible = true(it appears)</span></p>

epiShapeC1.Status = StatusTypes.Stop (turns it red)

Â

Snice there are nulls also it stay that way until I reach one thats false.Â

Is there a way to reset if i go to the next one or account for a null?

Â

when I hit a false

epiShapeC1.Visible = False

and it stays that way till i hit a true again



---In vantage@yahoogroups.com, <jose@...> wrote:

Set it disabled when the page loads, and if tehre is no connection to your dataview then you are scrwed you can add an Notify event to disable it back... but that can get hairy


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 4:50 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Got it , looks like it needed to be capital E.</p><p> </p><p>It seems to be working and it changes when the field is true false but stay on the last setting if the feild is null.  I Tried added a rule for Equlals null but didnt seem to work.  is there another way of doing null?<var></var> </p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Enabled


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

E: jose@…

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:39 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Hopfuly we are colse.</p><p>Â </p><font size="1"><p>--------compile errors------------</p><p>

Error: CS0117 - line 111 (280) - 'Epicor.Mfg.UI.FrameWork.EpiShape' does not contain a definition for 'enabled'

** Compile Failed. **

Â


---In vantage@yahoogroups.com, <jose@...> wrote:

The code needs to be syntactically correct, if you are using C# which its the default in 9.05 you need a semicolon at the end of that statement and it would beÂ
yourepishapename.Enabled = true;

But yes that's the place.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:08 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>thanks for being patient with me</p><p> </p><p><var></var>this is where I put it and got an error.  </p><p> </p><p> private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)<br>

 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



—In vantage@yahoogroups.com, <jose@…> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Sorry I am new to this.    If I choose Custom Action (Code) then Arrow </p><p> </p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p> </p><p>Not sure where to add this.   And I changed the name of my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

E: jose@...

http://www.josecgomez.com
     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p>Ok, So I added a New Row Rule  </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p> </p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

Â

So your saying enter New Rule Action

And check Custom Action (code)

Â

This is where I am stuck Â

Â

Â

Â



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

Â
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works. The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true. I assume I need some type of Row Rule but not
sure how or if I have it right so far…

Â

Â

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


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

I cant use Equals =null or Equals Contstant Null vaule.   



---In vantage@yahoogroups.com, <jose@...> wrote:

To reset it you'll have to use a notification or something an street adapter call

On Nov 5, 2013 5:22 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>It works good, I set it to&nbsp;Visible = False&nbsp;&nbsp;if i choose a suggestion that is linked to an order thats on credit hold, then It ran </p><p><span style="font-size:11pt;">epiShapeC1.Visible = true(it appears)</span></p>

epiShapeC1.Status = StatusTypes.Stop (turns it red)

 

Snice there are nulls also it stay that way until I reach one thats false. 

Is there a way to reset if i go to the next one or account for a null?

 

when I hit a false

epiShapeC1.Visible = False

and it stays that way till i hit a true again



---In vantage@yahoogroups.com, <jose@...> wrote:

Set it disabled when the page loads, and if tehre is no connection to your dataview then you are scrwed you can add an Notify event to disable it back... but that can get hairy


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 4:50 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Got it , looks like&nbsp;it needed to be capital E.</p><p>&nbsp;</p><p>It seems to be working&nbsp;and it changes&nbsp;when the field is true false but stay on the last&nbsp;setting if the feild is null.&nbsp; I&nbsp;Tried added a rule for Equlals&nbsp;null but didnt seem to work.&nbsp; is there another way of doing null?<var></var>&nbsp;</p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Enabled


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:39 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Hopfuly we are colse.</p><p>&nbsp;</p><font size="1"><p>--------compile errors------------</p><p>

Error: CS0117 - line 111 (280) - 'Epicor.Mfg.UI.FrameWork.EpiShape' does not contain a definition for 'enabled'

** Compile Failed. **

 


---In vantage@yahoogroups.com, <jose@...> wrote:

The code needs to be syntactically correct, if you are using C# which its the default in 9.05 you need a semicolon at the end of that statement and it would be 
yourepishapename.Enabled = true;

But yes that's the place.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 2:08 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>thanks for being patient with me</p><p>&nbsp;</p><p><var></var>this is where&nbsp;I put it and got an error.&nbsp; </p><p>&nbsp;</p><p>&nbsp;private void CreditHoldCustOnCreditHoldEqualsTrue_CustomRuleAction(Epicor.Mfg.UI.ExtendedProps.RowRuleDelegateArgs args)<br>

 {
  // ** RowRuleDelegateArgs Properties: args.Arg1, args.Arg2, args.Context, args.Row
  // ** put custom Rule Action logic here
  eshCreditHold.enable= true
 }
}



—In vantage@yahoogroups.com, <jose@…> wrote:

When you hit rigth arrow Update Code it generates code over on the script side an empty / blank function where you can add this code.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 1:33 PM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Sorry I am new to this.&nbsp;&nbsp;&nbsp;&nbsp;If I choose Custom Action (Code) then Arrow </p><p>&nbsp;</p><p>I get RuleActionDelegate I undate code then go to Scrpit Editor tab</p><p>&nbsp;</p><p>Not sure&nbsp;where to add this.&nbsp;&nbsp;&nbsp;And I changed the&nbsp;name of&nbsp;my shape to eshCreditHold So do I use eshCreditHold.enable= true <var></var></p>


---In vantage@yahoogroups.com, <jose@...> wrote:

Right in the custom action code simply do epiShape.Enabled = true


then add another row rule for CreditHold  = false custom action epiShape.Emabled = false


don't forget to set the enabledText an DisabledText on the epishape for emphasis;.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 11:54 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p>Ok, So I added a New Row Rule&nbsp; </p><p>Rule Description : CreditHold</p><p>Rule View : CreditHold</p><p>&nbsp;</p><p>Select View: CreditHold</p><p>Select Filed : CustOnCreditHold</p><p>Rule Condition :Equals </p>

Rulw Vaule : Ture

 

So your saying enter New Rule Action

And check Custom Action (code)

 

This is where I am stuck  

 

 

 



---In vantage@yahoogroups.com, <jose@...> wrote:


You need to use a Row Rule Wizard and put a condition on your CreditHold Order… then use the Action to Custom and enable the EpiShape.



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Tue, Nov 5, 2013 at 10:25 AM, <gabe.lebron@...> wrote:

 
<div>
  
  
  <p><font size="3" face="Times New Roman">

Hello, trying
to get a little help on a Rule Wizard I am trying to accomplish using an
EpiShape

 I am using
905.702 on Sql x64

Trying to
get an epishape on Purchasing Suggestion Entry. If the suggestion is linked to
an order the customer is on credit hold I want a red epishape to show up so purchasing
knows not to put on the buy list.

 I used Data
tools to bring in the order table

View Name:
CreditHold

Parent View
Name: MtlSug

View Type:
Foreign Key View

Column Name
:MtlSug.OrderNum

Like Column
Value : OrderHed.OrderNum

Adapter
Name: SalesOrderAdapter

GetByType:
IntegerGetByID

 Now when I
add an EpiShape to the screen I can Bind it to CreditHold.CustOnCreditHold and
Visable to False. It almost works.  The
button only appears they the suggestion is link to an order “great” but it doesn’t
matter if it’s true or false I only want it to show up if it’s true.  I assume I need some type of Row Rule but not
sure how or if I have it right so far…

 

 

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div style="color:rgb(255, 255, 255);min-height:0px;"></div>