Update vs UpdateMaster

Thanks for the feedback.

The problem is not with the code as opposed to when to call the code.

Some receipts call just UpdateMaster when saving a line. Other receipts call both Update and UpdateMaster when saving a line.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of jlisser@...
Sent: Tuesday, October 29, 2013 1:43 PM
To: vantage@yahoogroups.com
Subject: [Vantage] RE: Update vs UpdateMaster





I had noticed this in upgrading from 8.03 to 9.05 and opened a call with Epicor on it. They told me the UpdateMaster still calls the Update that I had used in my code for 8.03. UpdateMaster is something new to help with performance from what I remember.



Is it possible the problem is the actual code not upgrading properly from 9.04 to 9.05 - and not the method used?



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

Hi All,



When we converted from 9.04 to 9.05.702 one of our customization on
Receipt Entry was not working.

After digging into it, the problem seemed to be that saving a receipt
line called UpdateMaster and not Update.

Making a change to my code to account for this worked in testing.

Later, the customization was not working again and I noticed that both
Update and UpdateMaster where both called when saving a line.

I took out the condition for UpdateMaster because it seemed like after
UpdateMaster was called the inventory was not yet created.

After doing this, everything was working. Now I have another receipt
that not working and while debugging, I see that only UpdateMaster is
being called.



I'm confused at this point because I don't know when just Update or
UpdateMaster is going to be called or when both will be called.



My question is, what is the difference between these two calls and why
does one get called or the other or sometimes both???








Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring


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]










Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring


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]
Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring


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]
Hi All,



When we converted from 9.04 to 9.05.702 one of our customization on
Receipt Entry was not working.

After digging into it, the problem seemed to be that saving a receipt
line called UpdateMaster and not Update.

Making a change to my code to account for this worked in testing.

Later, the customization was not working again and I noticed that both
Update and UpdateMaster where both called when saving a line.

I took out the condition for UpdateMaster because it seemed like after
UpdateMaster was called the inventory was not yet created.

After doing this, everything was working. Now I have another receipt
that not working and while debugging, I see that only UpdateMaster is
being called.



I'm confused at this point because I don't know when just Update or
UpdateMaster is going to be called or when both will be called.



My question is, what is the difference between these two calls and why
does one get called or the other or sometimes both???








Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring


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]

I had noticed this in upgrading from 8.03 to 9.05 and opened a call with Epicor on it.  They told me the UpdateMaster still calls the Update that I had used in my code for 8.03.  UpdateMaster is something new to help with performance from what I remember.

 

Is it possible the problem is the actual code not upgrading properly from 9.04 to 9.05 - and not the method used?



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

Hi All,



When we converted from 9.04 to 9.05.702 one of our customization on
Receipt Entry was not working.

After digging into it, the problem seemed to be that saving a receipt
line called UpdateMaster and not Update.

Making a change to my code to account for this worked in testing.

Later, the customization was not working again and I noticed that both
Update and UpdateMaster where both called when saving a line.

I took out the condition for UpdateMaster because it seemed like after
UpdateMaster was called the inventory was not yet created.

After doing this, everything was working. Now I have another receipt
that not working and while debugging, I see that only UpdateMaster is
being called.



I'm confused at this point because I don't know when just Update or
UpdateMaster is going to be called or when both will be called.



My question is, what is the difference between these two calls and why
does one get called or the other or sometimes both???








Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring


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]