E10: Method Directive: JobEntry.Update - Changed JobMtl seen as

Hmm. This may have been a case of user error.
I may have fallen victim of the fact that you can branch off a true result as well as a false result off of a condition.
I made too many changes to know for sure but I may have been branching off the false side when I need to branch off the true side.
<<facepalm>>





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:aed054.png@6cf05f37.47ad87de]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, December 10, 2014 3:45 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] RE: E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add


I agree.I wanted to perform an action if a new row was added in the PORel table. To test I just wanted to display the job number but could never get it to display using the In-Transaction type. However it displayed the job number with a Standard directive type. I would have thought both should be doing the same thing.

________________________________
From: "brenda mohr brenda@... [vantage]" <vantage@yahoogroups.com>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Wednesday, December 10, 2014 2:40 PM
Subject: [Vantage] RE: E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add


The condition on the tt does not play nice in E10. It is not the same as E9 no matter how many times support tells me it is!
Brenda

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, December 10, 2014 2:29 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add


Hi All,

I am testing out method directives in our converted E10 database.
One of them should trigger when JobMtl.RequiredQty has changed from any to any.
This directive did not seem to be firing so I added an information message to it and changed the condition to just an updated row in ttJobMtl.
Still nothing.

If I changed the condition to an added row, or deleted row, in ttJobMtl, the directive fires.
If seems like E10 is handling updates to JobMtl as delete and adds rather than just updates.

Has anyone else experienced this?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@...<mailto:jrojas@...> | www.matsinc.com<http://www.matsinc.com/>
Ask us about our clean, green and beautiful matting and flooring

[cid:5a30a0.png@bb25d22a.469ec7da]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
Hi All,

I am testing out method directives in our converted E10 database.
One of them should trigger when JobMtl.RequiredQty has changed from any to any.
This directive did not seem to be firing so I added an information message to it and changed the condition to just an updated row in ttJobMtl.
Still nothing.

If I changed the condition to an added row, or deleted row, in ttJobMtl, the directive fires.
If seems like E10 is handling updates to JobMtl as delete and adds rather than just updates.

Has anyone else experienced this?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:5a30a0.png@bb25d22a.469ec7da]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.




[Non-text portions of this message have been removed]

The condition on the tt does not play nice in E10. It is not the same as E9 no matter how many times support tells me it is! 

Brenda

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, December 10, 2014 2:29 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add

 

 

Hi All,

I am testing out method directives in our converted E10 database.
One of them should trigger when JobMtl.RequiredQty has changed from any to any.
This directive did not seem to be firing so I added an information message to it and changed the condition to just an updated row in ttJobMtl.
Still nothing.

If I changed the condition to an added row, or deleted row, in ttJobMtl, the directive fires.
If seems like E10 is handling updates to JobMtl as delete and adds rather than just updates.

Has anyone else experienced this?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:5a30a0.png@bb25d22a.469ec7da]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]

Have you found a work around Brenda?
I notice the “The customer code condition is valid” condition but I don’t know how to use it.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:c578e6.png@b4b5b2fc.42946a83]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, December 10, 2014 2:41 PM
To: vantage@yahoogroups.com
Subject: [Vantage] RE: E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add


The condition on the tt does not play nice in E10. It is not the same as E9 no matter how many times support tells me it is!
Brenda

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, December 10, 2014 2:29 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add



Hi All,

I am testing out method directives in our converted E10 database.
One of them should trigger when JobMtl.RequiredQty has changed from any to any.
This directive did not seem to be firing so I added an information message to it and changed the condition to just an updated row in ttJobMtl.
Still nothing.

If I changed the condition to an added row, or deleted row, in ttJobMtl, the directive fires.
If seems like E10 is handling updates to JobMtl as delete and adds rather than just updates.

Has anyone else experienced this?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@...<mailto:jrojas@...> | www.matsinc.com<http://www.matsinc.com>
Ask us about our clean, green and beautiful matting and flooring

[cid:5a30a0.png@bb25d22a.469ec7da]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
The Custom Condition lets you write a piece of code which returns boolean (true) / (false)
Free form C# as in the BPM custom code side, just at the end type return mybool;


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Wed, Dec 10, 2014 at 3:07 PM, Joe Rojas jrojas@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>Have you found a work around Brenda?

I notice the “The customer code condition is valid” condition but I don’t know how to use it.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring



[cid:c578e6.png@b4b5b2fc.42946a83]


This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.




From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]


Sent: Wednesday, December 10, 2014 2:41 PM


To: vantage@yahoogroups.com


Subject: [Vantage] RE: E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add



The condition on the tt does not play nice in E10. It is not the same as E9 no matter how many times support tells me it is!
Brenda

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, December 10, 2014 2:29 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add



Hi All,

I am testing out method directives in our converted E10 database.
One of them should trigger when JobMtl.RequiredQty has changed from any to any.
This directive did not seem to be firing so I added an information message to it and changed the condition to just an updated row in ttJobMtl.
Still nothing.

If I changed the condition to an added row, or deleted row, in ttJobMtl, the directive fires.
If seems like E10 is handling updates to JobMtl as delete and adds rather than just updates.

Has anyone else experienced this?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@...<mailto:jrojas@...> | www.matsinc.com<http://www.matsinc.com>
Ask us about our clean, green and beautiful matting and flooring

[cid:5a30a0.png@bb25d22a.469ec7da]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]


[Non-text portions of this message have been removed]

</div>
 


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

I agree.I wanted to perform an action if a new row was added in the PORel table. To test I just wanted to display the job number but could never get it to display using the In-Transaction type. However it displayed the job number with a Standard directive type. I would have thought both should be doing the same thing.


From: "brenda mohr brenda@... [vantage]" <vantage@yahoogroups.com>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Wednesday, December 10, 2014 2:40 PM
Subject: [Vantage] RE: E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add



The condition on the tt does not play nice in E10. It is not the same as E9 no matter how many times support tells me it is! 
Brenda
 
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, December 10, 2014 2:29 PM
To: vantage@yahoogroups.com
Subject: [Vantage] E10: Method Directive: JobEntry.Update - Changed JobMtl seen as delete and add
 
 
Hi All,

I am testing out method directives in our converted E10 database.
One of them should trigger when JobMtl.RequiredQty has changed from any to any.
This directive did not seem to be firing so I added an information message to it and changed the condition to just an updated row in ttJobMtl.
Still nothing.

If I changed the condition to an added row, or deleted row, in ttJobMtl, the directive fires.
If seems like E10 is handling updates to JobMtl as delete and adds rather than just updates.

Has anyone else experienced this?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:5a30a0.png@bb25d22a.469ec7da]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]