E10 BPM Issue Blank Title 136612

Thank you Arul, here is what I came up with and seems to work. Is this the intended use?

var ttJobMtlRow = ttJobMtl.FirstOrDefault(r => r.Added());
if (ttJobMtlRow != null)
    {   
        using (System.Transactions.TransactionScope txScope = IceDataContext.CreateDefaultTransactionScope())
        {
            Erp.Contracts.JobEntrySvcContract hJobEntry = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.JobEntrySvcContract>(Db);
            if (hJobEntry != null)
                {
                    JobEntryTableset JobDataSet = new JobEntryTableset();           
                    JobDataSet = hJobEntry.GetByID(ttJobMtlRow.JobNum);
                    var jobMtlRow = JobDataSet.JobMtl.FirstOrDefault(r => r.AssemblySeq == ttJobMtlRow.AssemblySeq && r.MtlSeq == ttJobMtlRow.MtlSeq);
                    if (jobMtlRow != null)
                        {
                            JobMtlRow backupRow = new JobMtlRow();
                            BufferCopy.Copy(jobMtlRow, ref backupRow);
                            JobDataSet.JobMtl.Add(backupRow);
                            backupRow.RowMod = IceRow.ROWSTATE_UPDATED;
                            backupRow.BuyIt = true;
                            hJobEntry.ChangeJobMtlBuyIt(ref JobDataSet);
                            backupRow.RcvInspectionReq = true;
                            hJobEntry.ChangeJobMtlRcvInspectionReq(ref JobDataSet);       
                   
                            hJobEntry.Update(ref JobDataSet);
                        }
                } // hJobEntry
                hJobEntry = null;
                txScope.Complete();
            } // txScope
    }


From: "Arul Shankar sanuarul@... [vantage]" <vantage@yahoogroups.com>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Wednesday, June 3, 2015 8:35 AM
Subject: Re: [Vantage] E10 BPM Issue

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984 --

#ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984ygrp-photo-title{
clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}
#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984ygrp-photo{
background-position:center;background-repeat:no-repeat;background-color:white;border:1px solid black;height:62px;width:62px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984photo-title
a,
#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984photo-title a:active,
#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984photo-title a:hover,
#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984attach-table div.ygrps-yiv-438230235yiv8649983984attach-row {
clear:both;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984attach-table div.ygrps-yiv-438230235yiv8649983984attach-row div {
float:left;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 p {
clear:both;padding:15px 0 3px 0;overflow:hidden;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984ygrp-file {
width:30px;}
#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984attach-table div.ygrps-yiv-438230235yiv8649983984attach-row div div a {
text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984attach-table div.ygrps-yiv-438230235yiv8649983984attach-row div div span {
font-weight:normal;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984ygrp-file-title {
font-weight:bold;}
#ygrps-yiv-438230235



Hi Todd,

Please find the sample code.

 var APInvoiceTableSet = new Erp.Tablesets.APInvoiceTableset();
                APInvHedRow backupRow = new  APInvHedRow();
                BufferCopy.Copy(ttAPInvHedRow, ref backupRow);
                APInvoiceTableSet.APInvHed.Add(backupRow);
                backupRow.RowMod = IceRow.ROWSTATE_UPDATED;
                APInvoice.SetReadyToCalc("", ttAPInvHedRow.InvoiceNum, ttAPInvHedRow.VendorNum, false, false, ref APInvoiceTableSet);

Regards,
Arul


From: "tkoch77@... [vantage]" <vantage@yahoogroups.com>
To: vantage@yahoogroups.com
Sent: Tuesday, 2 June 2015, 4:36
Subject: Re: [Vantage] E10 BPM Issue

 
<div id="ygrps-yiv-438230235yiv8649983984ygrp-text">
  
  
  <div id="ygrps-yiv-438230235yiv8649983984yui_3_16_0_1_1433334723964_13638">Hi Arul,<br clear="none"><br clear="none">Would you mind posting the bit of code we were discussing about at Insights?<br clear="none"><br clear="none">Thank you,<br clear="none"><br clear="none">Ted</div>

</div>
 


<div style="color:#fff;height:0;"></div></div>
#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 -- #ygrps-yiv-438230235yiv8649983984ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mkp #ygrps-yiv-438230235yiv8649983984hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mkp #ygrps-yiv-438230235yiv8649983984ads {
margin-bottom:10px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mkp .ygrps-yiv-438230235yiv8649983984ad {
padding:0 0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mkp .ygrps-yiv-438230235yiv8649983984ad p {
margin:0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mkp .ygrps-yiv-438230235yiv8649983984ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-sponsor #ygrps-yiv-438230235yiv8649983984ygrp-lc {
font-family:Arial;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-sponsor #ygrps-yiv-438230235yiv8649983984ygrp-lc #ygrps-yiv-438230235yiv8649983984hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-sponsor #ygrps-yiv-438230235yiv8649983984ygrp-lc .ygrps-yiv-438230235yiv8649983984ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984activity span {
font-weight:700;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984activity span span {
color:#ff7900;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984activity span .ygrps-yiv-438230235yiv8649983984underline {
text-decoration:underline;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984attach div a {
text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984attach img {
border:none;padding-right:5px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984attach label a {
text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984bold a {
text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 dd.ygrps-yiv-438230235yiv8649983984last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 dd.ygrps-yiv-438230235yiv8649983984last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 dd.ygrps-yiv-438230235yiv8649983984last p span.ygrps-yiv-438230235yiv8649983984yshortcuts {
margin-right:0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984attach-table div div a {
text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984attach-table {
width:400px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984file-title a, #ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984file-title a:active, #ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984file-title a:hover, #ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984file-title a:visited {
text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984photo-title a, #ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984photo-title a:active, #ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984photo-title a:hover, #ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div.ygrps-yiv-438230235yiv8649983984photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 div#ygrps-yiv-438230235yiv8649983984ygrp-mlmsg #ygrps-yiv-438230235yiv8649983984ygrp-msg p a span.ygrps-yiv-438230235yiv8649983984yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984green {
color:#628c2a;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 o {
font-size:0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984photos div {
float:left;width:72px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984reco-category {
font-size:77%;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984reco-desc {
font-size:77%;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 .ygrps-yiv-438230235yiv8649983984replbq {
margin:4px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mlmsg select, #ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 input, #ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mlmsg pre, #ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 code {
font:115% monospace;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-mlmsg #ygrps-yiv-438230235yiv8649983984logo {
padding-bottom:10px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-msg p#ygrps-yiv-438230235yiv8649983984attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-reco #ygrps-yiv-438230235yiv8649983984reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-sponsor #ygrps-yiv-438230235yiv8649983984ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-sponsor #ygrps-yiv-438230235yiv8649983984ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-sponsor #ygrps-yiv-438230235yiv8649983984ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-text {
font-family:Georgia;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-text tt {
font-size:120%;}

#ygrps-yiv-438230235 #ygrps-yiv-438230235yiv8649983984 #ygrps-yiv-438230235yiv8649983984ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-438230235







Does anyone see an issue with the code below. I am running this in the JobEntry.Update Post Process directive. Every time the code reaches JobMtlRow.RcvInspectionReq = true it throws an error saying "JobMtl has not changed."

I am wondering if the method I am calling right before is doing something weird with the JobMtl row that is causing this (has to be the reason). Anyone else know a better way to achieve what I am doing?

using (System.Transactions.TransactionScope txScope = IceDataContext.CreateDefaultTransactionScope())
{
    Erp.Contracts.JobEntrySvcContract hJobEntry = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.JobEntrySvcContract>(Db);
    if (hJobEntry != null)
        {
            JobEntryTableset JobDataSet = null;           
            JobDataSet = hJobEntry.GetByID(callContextBpmData.ShortChar05);
            foreach (var JobMtlRow in (from row in JobDataSet.JobMtl
                                                                    where row.AssemblySeq == callContextBpmData.Number19 && row.MtlSeq == callContextBpmData.Number20
                                                                    select row))
            {
                    JobMtlRow.BuyIt = true;
                    hJobEntry.ChangeJobMtlBuyIt(ref JobDataSet);
                   
           
                    JobMtlRow.RcvInspectionReq = true;
                    hJobEntry.ChangeJobMtlRcvInspectionReq(ref JobDataSet);
                   

                    hJobEntry.Update(ref JobDataSet);
                }
        } // hJobEntry
        hJobEntry = null;
        txScope.Complete();
    } // txScope


I've seen this before, sometimes the method call resets your objecto so your foreach goes stupid. Change your loop to a for loop instead and use an Index.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Thu, May 14, 2015 at 3:06 PM, tkoch77@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>Does anyone see an issue with the code below. I am running this in the JobEntry.Update Post Process directive. Every time the code reaches JobMtlRow.RcvInspectionReq = true it throws an error saying &quot;JobMtl has not changed.&quot;<br><br>I am wondering if the method I am calling right before is doing something weird with the JobMtl row that is causing this (has to be the reason). Anyone else know a better way to achieve what I am doing?<br><br>using (System.Transactions.TransactionScope txScope = IceDataContext.CreateDefaultTransactionScope())<br>{<br>Â Â Â  Erp.Contracts.JobEntrySvcContract hJobEntry = Ice.Assemblies.ServiceRenderer.GetService&lt;Erp.Contracts.JobEntrySvcContract&gt;(Db);<br>Â Â Â  if (hJobEntry != null)<br>Â Â Â  Â Â Â  {<br>Â Â Â  Â Â Â  Â Â Â  JobEntryTableset JobDataSet = null;Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  JobDataSet = hJobEntry.GetByID(callContextBpmData.ShortChar05);<br>Â Â Â  Â Â Â  Â Â Â  foreach (var JobMtlRow in (from row in JobDataSet.JobMtl<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  where row.AssemblySeq == callContextBpmData.Number19 &amp;&amp; row.MtlSeq == callContextBpmData.Number20<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  select row))<br>Â Â Â  Â Â Â  Â Â Â  {<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  JobMtlRow.BuyIt = true;<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  hJobEntry.ChangeJobMtlBuyIt(ref JobDataSet);<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  JobMtlRow.RcvInspectionReq = true;<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  hJobEntry.ChangeJobMtlRcvInspectionReq(ref JobDataSet);<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  <br><br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  hJobEntry.Update(ref JobDataSet);<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  }<br>Â Â Â  Â Â Â  } // hJobEntry<br>Â Â Â  Â Â Â  hJobEntry = null;<br>Â Â Â  Â Â Â  txScope.Complete();<br>Â Â Â  } // txScope<br></p><p><span><br></span></p><p></p>

</div>
 


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

I simplified it trying to just change the material to purchase direct, but have the same issue. Now when it hits the Update method it says JobMtl has not changed. Seems like it is resetting the entire dataset with each method call.

using (System.Transactions.TransactionScope txScope = IceDataContext.CreateDefaultTransactionScope())
{
    Erp.Contracts.JobEntrySvcContract hJobEntry = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.JobEntrySvcContract>(Db);
    if (hJobEntry != null)
        {
            JobEntryTableset JobDataSet = null;           
            JobDataSet = hJobEntry.GetByID(callContextBpmData.ShortChar05);
                    for (var i = 0; i < JobDataSet.JobMtl.Count; i++)
                    {
                        if (JobDataSet.JobMtl[i].AssemblySeq == callContextBpmData.Number19 && JobDataSet.JobMtl[i].MtlSeq == callContextBpmData.Number20)
                            {
                                JobDataSet.JobMtl[i].dspBuyIt = true;                               
                                //hJobEntry.CheckJobMtlBuyIt(ref JobDataSet);                           
                                hJobEntry.ChangeJobMtlBuyIt(ref JobDataSet);

                                //JobDataSet.JobMtl[i].RcvInspectionReq = true;
                                //hJobEntry.ChangeJobMtlRcvInspectionReq(ref JobDataSet);       
                   
                                hJobEntry.Update(ref JobDataSet);
                            }
                    }
        } // hJobEntry
        hJobEntry = null;
        txScope.Complete();
    } // txScope


From: "Jose Gomez jose@... [vantage]" <vantage@yahoogroups.com>
To: Vantage <vantage@yahoogroups.com>
Sent: Thursday, May 14, 2015 3:11 PM
Subject: Re: [Vantage] E10 BPM Issue



I've seen this before, sometimes the method call resets your objecto so your foreach goes stupid. Change your loop to a for loop instead and use an Index.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Thu, May 14, 2015 at 3:06 PM, tkoch77@... [vantage] <vantage@yahoogroups.com> wrote:

 
<div>
  
  
  <div>Does anyone see an issue with the code below. I am running this in the JobEntry.Update Post Process directive. Every time the code reaches JobMtlRow.RcvInspectionReq = true it throws an error saying &quot;JobMtl has not changed.&quot;<br><br>I am wondering if the method I am calling right before is doing something weird with the JobMtl row that is causing this (has to be the reason). Anyone else know a better way to achieve what I am doing?<br><br>using (System.Transactions.TransactionScope txScope = IceDataContext.CreateDefaultTransactionScope())<br>{<br>&nbsp;&nbsp;&nbsp; Erp.Contracts.JobEntrySvcContract hJobEntry = Ice.Assemblies.ServiceRenderer.GetService&lt;Erp.Contracts.JobEntrySvcContract&gt;(Db);<br>&nbsp;&nbsp;&nbsp; if (hJobEntry != null)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobEntryTableset JobDataSet = null;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobDataSet = hJobEntry.GetByID(callContextBpmData.ShortChar05);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; foreach (var JobMtlRow in (from row in JobDataSet.JobMtl<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; where row.AssemblySeq == callContextBpmData.Number19 &amp;&amp; row.MtlSeq == callContextBpmData.Number20<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; select row))<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobMtlRow.BuyIt = true;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry.ChangeJobMtlBuyIt(ref JobDataSet);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobMtlRow.RcvInspectionReq = true;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry.ChangeJobMtlRcvInspectionReq(ref JobDataSet);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry.Update(ref JobDataSet);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } // hJobEntry<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry = null;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; txScope.Complete();<br>&nbsp;&nbsp;&nbsp; } // txScope<br></div><div><span><br></span></div><div></div>

</div>
 


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





Set the RowMod on the Mtl to U


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Thu, May 14, 2015 at 3:46 PM, Ted Koch tkoch77@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p></p><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div dir="ltr">I simplified it trying to just change the material to purchase direct, but have the same issue. Now when it hits the Update method it says JobMtl has not changed. Seems like it is resetting the entire dataset with each method call.</div><div><br><span></span></div><div dir="ltr"><span><span class="ygrps-yiv-978981037">using (System.Transactions.TransactionScope txScope = IceDataContext.CreateDefaultTransactionScope())<br>{<br>Â Â Â  Erp.Contracts.JobEntrySvcContract hJobEntry = Ice.Assemblies.ServiceRenderer.GetService&lt;Erp.Contracts.JobEntrySvcContract&gt;(Db);<br>Â Â Â  if (hJobEntry != null)<br>Â Â Â  Â Â Â  {<br>Â Â Â  Â Â Â  Â Â Â  JobEntryTableset JobDataSet = null;Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  JobDataSet = hJobEntry.GetByID(callContextBpmData.ShortChar05);<br></span>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  for (var i = 0; i &lt; JobDataSet.JobMtl.Count; i++)<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  {<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  if (JobDataSet.JobMtl[i].AssemblySeq == callContextBpmData.Number19 &amp;&amp; JobDataSet.JobMtl[i].MtlSeq == callContextBpmData.Number20)<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  {<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  JobDataSet.JobMtl[i].dspBuyIt = true;Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  //hJobEntry.CheckJobMtlBuyIt(ref JobDataSet);Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  hJobEntry.ChangeJobMtlBuyIt(ref JobDataSet);<br><br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  //JobDataSet.JobMtl[i].RcvInspectionReq = true;<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  //hJobEntry.ChangeJobMtlRcvInspectionReq(ref JobDataSet);Â Â Â  Â Â Â  <br><span class="ygrps-yiv-978981037">Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  hJobEntry.Update(ref JobDataSet);<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  }<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  }<br>Â Â Â  Â Â Â  } // hJobEntry<br>Â Â Â  Â Â Â  hJobEntry = null;<br>Â Â Â  Â Â Â  txScope.Complete();<br>Â Â Â  } // txScope</span></span></div><br>  <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> &quot;Jose Gomez <a rel="nofollow" target="_blank" href="mailto:jose@...">jose@...</a> [vantage]&quot; &lt;<a rel="nofollow" target="_blank" href="mailto:vantage@yahoogroups.com">vantage@yahoogroups.com</a>&gt;<br> <b><span style="font-weight:bold;">To:</span></b> Vantage &lt;<a rel="nofollow" target="_blank" href="mailto:vantage@yahoogroups.com">vantage@yahoogroups.com</a>&gt; <br> <b><span style="font-weight:bold;">Sent:</span></b> Thursday, May 14, 2015 3:11 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Vantage] E10 BPM Issue<br> </font> </div><div><div class="ygrps-yiv-978981037h5"> <div><br><div>



I've seen this before, sometimes the method call resets your objecto so your foreach goes stupid. Change your loop to a for loop instead and use an Index.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Thu, May 14, 2015 at 3:06 PM, tkoch77@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <div>Does anyone see an issue with the code below. I am running this in the JobEntry.Update Post Process directive. Every time the code reaches JobMtlRow.RcvInspectionReq = true it throws an error saying &quot;JobMtl has not changed.&quot;<br><br>I am wondering if the method I am calling right before is doing something weird with the JobMtl row that is causing this (has to be the reason). Anyone else know a better way to achieve what I am doing?<br><br>using (System.Transactions.TransactionScope txScope = IceDataContext.CreateDefaultTransactionScope())<br>{<br>Â Â Â  Erp.Contracts.JobEntrySvcContract hJobEntry = Ice.Assemblies.ServiceRenderer.GetService&lt;Erp.Contracts.JobEntrySvcContract&gt;(Db);<br>Â Â Â  if (hJobEntry != null)<br>Â Â Â  Â Â Â  {<br>Â Â Â  Â Â Â  Â Â Â  JobEntryTableset JobDataSet = null;Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  JobDataSet = hJobEntry.GetByID(callContextBpmData.ShortChar05);<br>Â Â Â  Â Â Â  Â Â Â  foreach (var JobMtlRow in (from row in JobDataSet.JobMtl<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  where row.AssemblySeq == callContextBpmData.Number19 &amp;&amp; row.MtlSeq == callContextBpmData.Number20<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  select row))<br>Â Â Â  Â Â Â  Â Â Â  {<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  JobMtlRow.BuyIt = true;<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  hJobEntry.ChangeJobMtlBuyIt(ref JobDataSet);<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  <br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  JobMtlRow.RcvInspectionReq = true;<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  hJobEntry.ChangeJobMtlRcvInspectionReq(ref JobDataSet);<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  <br><br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  hJobEntry.Update(ref JobDataSet);<br>Â Â Â  Â Â Â  Â Â Â  Â Â Â  }<br>Â Â Â  Â Â Â  } // hJobEntry<br>Â Â Â  Â Â Â  hJobEntry = null;<br>Â Â Â  Â Â Â  txScope.Complete();<br>Â Â Â  } // txScope<br></div><div><span><br></span></div><div></div>

</div>
 


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





</div>
 


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

Hi,

This update will work for direct database update. You need to buffer copy the JoMtRow and change the required value and set RowMod = 'U' to run this. 

Regards,
Arul


From: "tkoch77@... [vantage]" <vantage@yahoogroups.com>
To: vantage@yahoogroups.com
Sent: Friday, 15 May 2015, 5:06
Subject: [Vantage] E10 BPM Issue

 
<div id="ygrps-yiv-68419938yiv7266448098ygrp-text">
  
  
  <div id="ygrps-yiv-68419938yui_3_16_0_1_1431636470287_4201">Does anyone see an issue with the code below. I am running this in the JobEntry.Update Post Process directive. Every time the code reaches JobMtlRow.RcvInspectionReq = true it throws an error saying &quot;JobMtl has not changed.&quot;<br clear="none"><br clear="none">I am wondering if the method I am calling right before is doing something weird with the JobMtl row that is causing this (has to be the reason). Anyone else know a better way to achieve what I am doing?<br clear="none"><br clear="none">using (System.Transactions.TransactionScope txScope = IceDataContext.CreateDefaultTransactionScope())<br clear="none">{<br clear="none">&nbsp;&nbsp;&nbsp; Erp.Contracts.JobEntrySvcContract hJobEntry = Ice.Assemblies.ServiceRenderer.GetService&lt;Erp.Contracts.JobEntrySvcContract&gt;(Db);<br clear="none">&nbsp;&nbsp;&nbsp; if (hJobEntry != null)<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobEntryTableset JobDataSet = null;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobDataSet = hJobEntry.GetByID(callContextBpmData.ShortChar05);<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; foreach (var JobMtlRow in (from row in JobDataSet.JobMtl<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; where row.AssemblySeq == callContextBpmData.Number19 &amp;&amp; row.MtlSeq == callContextBpmData.Number20<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; select row))<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobMtlRow.BuyIt = true;<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry.ChangeJobMtlBuyIt(ref JobDataSet);<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobMtlRow.RcvInspectionReq = true;<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry.ChangeJobMtlRcvInspectionReq(ref JobDataSet);<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br clear="none"><br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry.Update(ref JobDataSet);<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } // hJobEntry<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry = null;<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; txScope.Complete();<br clear="none">&nbsp;&nbsp;&nbsp; } // txScope<br clear="none"></div><div id="ygrps-yiv-68419938yui_3_16_0_1_1431636470287_4420"><span><br clear="none" class="ygrps-yiv-68419938yiv7266448098yui-cursor"></span></div>

</div>
 


<div style="color:#fff;height:0;"></div></div>
#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098 -- #ygrps-yiv-68419938yiv7266448098ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mkp #ygrps-yiv-68419938yiv7266448098hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mkp #ygrps-yiv-68419938yiv7266448098ads {
margin-bottom:10px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mkp .ygrps-yiv-68419938yiv7266448098ad {
padding:0 0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mkp .ygrps-yiv-68419938yiv7266448098ad p {
margin:0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mkp .ygrps-yiv-68419938yiv7266448098ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-sponsor #ygrps-yiv-68419938yiv7266448098ygrp-lc {
font-family:Arial;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-sponsor #ygrps-yiv-68419938yiv7266448098ygrp-lc #ygrps-yiv-68419938yiv7266448098hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-sponsor #ygrps-yiv-68419938yiv7266448098ygrp-lc .ygrps-yiv-68419938yiv7266448098ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098activity span {
font-weight:700;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098activity span span {
color:#ff7900;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098activity span .ygrps-yiv-68419938yiv7266448098underline {
text-decoration:underline;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098attach div a {
text-decoration:none;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098attach img {
border:none;padding-right:5px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098attach label a {
text-decoration:none;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098bold a {
text-decoration:none;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 dd.ygrps-yiv-68419938yiv7266448098last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 dd.ygrps-yiv-68419938yiv7266448098last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 dd.ygrps-yiv-68419938yiv7266448098last p span.ygrps-yiv-68419938yiv7266448098yshortcuts {
margin-right:0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098attach-table div div a {
text-decoration:none;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098attach-table {
width:400px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098file-title a, #ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098file-title a:active, #ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098file-title a:hover, #ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098file-title a:visited {
text-decoration:none;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098photo-title a, #ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098photo-title a:active, #ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098photo-title a:hover, #ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div.ygrps-yiv-68419938yiv7266448098photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 div#ygrps-yiv-68419938yiv7266448098ygrp-mlmsg #ygrps-yiv-68419938yiv7266448098ygrp-msg p a span.ygrps-yiv-68419938yiv7266448098yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098green {
color:#628c2a;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 o {
font-size:0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098photos div {
float:left;width:72px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098reco-category {
font-size:77%;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098reco-desc {
font-size:77%;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 .ygrps-yiv-68419938yiv7266448098replbq {
margin:4px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mlmsg select, #ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 input, #ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mlmsg pre, #ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 code {
font:115% monospace;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-mlmsg #ygrps-yiv-68419938yiv7266448098logo {
padding-bottom:10px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-msg p#ygrps-yiv-68419938yiv7266448098attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-reco #ygrps-yiv-68419938yiv7266448098reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-sponsor #ygrps-yiv-68419938yiv7266448098ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-sponsor #ygrps-yiv-68419938yiv7266448098ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-sponsor #ygrps-yiv-68419938yiv7266448098ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-text {
font-family:Georgia;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-text tt {
font-size:120%;}

#ygrps-yiv-68419938 #ygrps-yiv-68419938yiv7266448098 #ygrps-yiv-68419938yiv7266448098ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-68419938



Arul,

Do you have an example of this, when I call the method won't the field values still get reset in this case? Frustrating this does not work the same as it does in visual studio or a customization. There should be no difference.

Thanks,

Ted


From: "Arul Shankar sanuarul@... [vantage]" <vantage@yahoogroups.com>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Thursday, May 14, 2015 4:54 PM
Subject: Re: [Vantage] E10 BPM Issue



Hi,

This update will work for direct database update. You need to buffer copy the JoMtRow and change the required value and set RowMod = 'U' to run this. 

Regards,
Arul


From: "tkoch77@... [vantage]" <vantage@yahoogroups.com>
To: vantage@yahoogroups.com
Sent: Friday, 15 May 2015, 5:06
Subject: [Vantage] E10 BPM Issue

 
<div id="ygrps-yiv-188411022yiv8502736902ygrp-text">
  
  
  <div id="ygrps-yiv-188411022yiv8502736902yui_3_16_0_1_1431636470287_4201">Does anyone see an issue with the code below. I am running this in the JobEntry.Update Post Process directive. Every time the code reaches JobMtlRow.RcvInspectionReq = true it throws an error saying &quot;JobMtl has not changed.&quot;<br clear="none"><br clear="none">I am wondering if the method I am calling right before is doing something weird with the JobMtl row that is causing this (has to be the reason). Anyone else know a better way to achieve what I am doing?<br clear="none"><br clear="none">using (System.Transactions.TransactionScope txScope = IceDataContext.CreateDefaultTransactionScope())<br clear="none">{<br clear="none">&nbsp;&nbsp;&nbsp; Erp.Contracts.JobEntrySvcContract hJobEntry = Ice.Assemblies.ServiceRenderer.GetService&lt;Erp.Contracts.JobEntrySvcContract&gt;(Db);<br clear="none">&nbsp;&nbsp;&nbsp; if (hJobEntry != null)<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobEntryTableset JobDataSet = null;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobDataSet = hJobEntry.GetByID(callContextBpmData.ShortChar05);<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; foreach (var JobMtlRow in (from row in JobDataSet.JobMtl<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; where row.AssemblySeq == callContextBpmData.Number19 &amp;&amp; row.MtlSeq == callContextBpmData.Number20<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; select row))<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobMtlRow.BuyIt = true;<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry.ChangeJobMtlBuyIt(ref JobDataSet);<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; JobMtlRow.RcvInspectionReq = true;<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry.ChangeJobMtlRcvInspectionReq(ref JobDataSet);<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br clear="none"><br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry.Update(ref JobDataSet);<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } // hJobEntry<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; hJobEntry = null;<br clear="none">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; txScope.Complete();<br clear="none">&nbsp;&nbsp;&nbsp; } // txScope<br clear="none"></div><div id="ygrps-yiv-188411022yiv8502736902yui_3_16_0_1_1431636470287_4420"><span><br class="ygrps-yiv-188411022yiv8502736902yui-cursor" clear="none"></span></div>

</div>
 


<div style="color:#fff;height:0;"></div></div>
#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 -- #ygrps-yiv-188411022yiv8502736902ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mkp #ygrps-yiv-188411022yiv8502736902hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mkp #ygrps-yiv-188411022yiv8502736902ads {
margin-bottom:10px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mkp .ygrps-yiv-188411022yiv8502736902ad {
padding:0 0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mkp .ygrps-yiv-188411022yiv8502736902ad p {
margin:0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mkp .ygrps-yiv-188411022yiv8502736902ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-sponsor #ygrps-yiv-188411022yiv8502736902ygrp-lc {
font-family:Arial;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-sponsor #ygrps-yiv-188411022yiv8502736902ygrp-lc #ygrps-yiv-188411022yiv8502736902hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-sponsor #ygrps-yiv-188411022yiv8502736902ygrp-lc .ygrps-yiv-188411022yiv8502736902ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902activity span {
font-weight:700;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902activity span span {
color:#ff7900;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902activity span .ygrps-yiv-188411022yiv8502736902underline {
text-decoration:underline;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902attach div a {
text-decoration:none;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902attach img {
border:none;padding-right:5px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902attach label a {
text-decoration:none;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902bold a {
text-decoration:none;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 dd.ygrps-yiv-188411022yiv8502736902last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 dd.ygrps-yiv-188411022yiv8502736902last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 dd.ygrps-yiv-188411022yiv8502736902last p span.ygrps-yiv-188411022yiv8502736902yshortcuts {
margin-right:0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902attach-table div div a {
text-decoration:none;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902attach-table {
width:400px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902file-title a, #ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902file-title a:active, #ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902file-title a:hover, #ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902file-title a:visited {
text-decoration:none;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902photo-title a, #ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902photo-title a:active, #ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902photo-title a:hover, #ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div.ygrps-yiv-188411022yiv8502736902photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 div#ygrps-yiv-188411022yiv8502736902ygrp-mlmsg #ygrps-yiv-188411022yiv8502736902ygrp-msg p a span.ygrps-yiv-188411022yiv8502736902yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902green {
color:#628c2a;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 o {
font-size:0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902photos div {
float:left;width:72px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902reco-category {
font-size:77%;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902reco-desc {
font-size:77%;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 .ygrps-yiv-188411022yiv8502736902replbq {
margin:4px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mlmsg select, #ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 input, #ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mlmsg pre, #ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 code {
font:115% monospace;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-mlmsg #ygrps-yiv-188411022yiv8502736902logo {
padding-bottom:10px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-msg p#ygrps-yiv-188411022yiv8502736902attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-reco #ygrps-yiv-188411022yiv8502736902reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-sponsor #ygrps-yiv-188411022yiv8502736902ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-sponsor #ygrps-yiv-188411022yiv8502736902ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-sponsor #ygrps-yiv-188411022yiv8502736902ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-text {
font-family:Georgia;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-text tt {
font-size:120%;}

#ygrps-yiv-188411022 #ygrps-yiv-188411022yiv8502736902 #ygrps-yiv-188411022yiv8502736902ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-188411022







Hi Arul,

Would you mind posting the bit of code we were discussing about at Insights?

Thank you,

Ted
Hi Todd,

Please find the sample code.

 var APInvoiceTableSet = new Erp.Tablesets.APInvoiceTableset();
                APInvHedRow backupRow = new  APInvHedRow();
                BufferCopy.Copy(ttAPInvHedRow, ref backupRow);
                APInvoiceTableSet.APInvHed.Add(backupRow);
                backupRow.RowMod = IceRow.ROWSTATE_UPDATED;
                APInvoice.SetReadyToCalc("", ttAPInvHedRow.InvoiceNum, ttAPInvHedRow.VendorNum, false, false, ref APInvoiceTableSet);

Regards,
Arul


From: "tkoch77@... [vantage]" <vantage@yahoogroups.com>
To: vantage@yahoogroups.com
Sent: Tuesday, 2 June 2015, 4:36
Subject: Re: [Vantage] E10 BPM Issue

 
<div id="ygrps-yiv-657729767yiv6730244355ygrp-text">
  
  
  <div id="ygrps-yiv-657729767yui_3_16_0_1_1433334723964_13638">Hi Arul,<br clear="none"><br clear="none">Would you mind posting the bit of code we were discussing about at Insights?<br clear="none"><br clear="none">Thank you,<br clear="none"><br clear="none">Ted</div>

</div>
 


<div style="color:#fff;height:0;"></div></div>
#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355 -- #ygrps-yiv-657729767yiv6730244355ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mkp #ygrps-yiv-657729767yiv6730244355hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mkp #ygrps-yiv-657729767yiv6730244355ads {
margin-bottom:10px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mkp .ygrps-yiv-657729767yiv6730244355ad {
padding:0 0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mkp .ygrps-yiv-657729767yiv6730244355ad p {
margin:0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mkp .ygrps-yiv-657729767yiv6730244355ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-sponsor #ygrps-yiv-657729767yiv6730244355ygrp-lc {
font-family:Arial;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-sponsor #ygrps-yiv-657729767yiv6730244355ygrp-lc #ygrps-yiv-657729767yiv6730244355hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-sponsor #ygrps-yiv-657729767yiv6730244355ygrp-lc .ygrps-yiv-657729767yiv6730244355ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355activity span {
font-weight:700;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355activity span span {
color:#ff7900;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355activity span .ygrps-yiv-657729767yiv6730244355underline {
text-decoration:underline;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355attach div a {
text-decoration:none;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355attach img {
border:none;padding-right:5px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355attach label a {
text-decoration:none;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355bold a {
text-decoration:none;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 dd.ygrps-yiv-657729767yiv6730244355last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 dd.ygrps-yiv-657729767yiv6730244355last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 dd.ygrps-yiv-657729767yiv6730244355last p span.ygrps-yiv-657729767yiv6730244355yshortcuts {
margin-right:0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355attach-table div div a {
text-decoration:none;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355attach-table {
width:400px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355file-title a, #ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355file-title a:active, #ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355file-title a:hover, #ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355file-title a:visited {
text-decoration:none;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355photo-title a, #ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355photo-title a:active, #ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355photo-title a:hover, #ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div.ygrps-yiv-657729767yiv6730244355photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 div#ygrps-yiv-657729767yiv6730244355ygrp-mlmsg #ygrps-yiv-657729767yiv6730244355ygrp-msg p a span.ygrps-yiv-657729767yiv6730244355yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355green {
color:#628c2a;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 o {
font-size:0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355photos div {
float:left;width:72px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355reco-category {
font-size:77%;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355reco-desc {
font-size:77%;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 .ygrps-yiv-657729767yiv6730244355replbq {
margin:4px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mlmsg select, #ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 input, #ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mlmsg pre, #ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 code {
font:115% monospace;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-mlmsg #ygrps-yiv-657729767yiv6730244355logo {
padding-bottom:10px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-msg p#ygrps-yiv-657729767yiv6730244355attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-reco #ygrps-yiv-657729767yiv6730244355reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-sponsor #ygrps-yiv-657729767yiv6730244355ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-sponsor #ygrps-yiv-657729767yiv6730244355ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-sponsor #ygrps-yiv-657729767yiv6730244355ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-text {
font-family:Georgia;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-text tt {
font-size:120%;}

#ygrps-yiv-657729767 #ygrps-yiv-657729767yiv6730244355 #ygrps-yiv-657729767yiv6730244355ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-657729767