#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 #ygrps-yiv-969460091yiv0521660651 --
#ygrps-yiv-969460091yiv0521660651 .ygrps-yiv-969460091yiv0521660651ygrp-photo-title{
clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651ygrp-photo{
background-position:center;background-repeat:no-repeat;background-color:white;border:1px solid black;height:62px;width:62px;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651photo-title
a,
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651photo-title a:active,
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651photo-title a:hover,
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651photo-title a:visited {
text-decoration:none;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651attach-table div.ygrps-yiv-969460091yiv0521660651attach-row {
clear:both;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651attach-table div.ygrps-yiv-969460091yiv0521660651attach-row div {
float:left;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 p {
clear:both;padding:15px 0 3px 0;overflow:hidden;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651ygrp-file {
width:30px;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651attach-table div.ygrps-yiv-969460091yiv0521660651attach-row div div a {
text-decoration:none;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651attach-table div.ygrps-yiv-969460091yiv0521660651attach-row div div span {
font-weight:normal;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 div.ygrps-yiv-969460091yiv0521660651ygrp-file-title {
font-weight:bold;}
#ygrps-yiv-969460091
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 #ygrps-yiv-969460091yiv0521660651 –
#ygrps-yiv-969460091yiv0521660651ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 #ygrps-yiv-969460091yiv0521660651ygrp-mkp hr {
border:1px solid #d8d8d8;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 #ygrps-yiv-969460091yiv0521660651ygrp-mkp #ygrps-yiv-969460091yiv0521660651hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 #ygrps-yiv-969460091yiv0521660651ygrp-mkp #ygrps-yiv-969460091yiv0521660651ads {
margin-bottom:10px;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 #ygrps-yiv-969460091yiv0521660651ygrp-mkp .ygrps-yiv-969460091yiv0521660651ad {
padding:0 0;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 #ygrps-yiv-969460091yiv0521660651ygrp-mkp .ygrps-yiv-969460091yiv0521660651ad p {
margin:0;}
#ygrps-yiv-969460091 #ygrps-yiv-969460091yiv0521660651 #ygrps-yiv-969460091yiv0521660651ygrp-mkp .ygrps-yiv-969460091yiv0521660651ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-969460091
Do you have Visual Studio? Have you tried debugging through it? You can do it even with Express.
Jose C Gomez
Software Engineer
Quis custodiet
ipsos custodes?
On Fri, Jun 20, 2014 at 10:06 AM, Ted Koch
tkoch77@... [vantage]
<vantage@yahoogroups.com> wrote:
<div>
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8pt;"><div><span>This is from the trace.</span></div><div style="color:rgb(0,0,0);font-size:10.6667px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">
<businessObject>Ice.Proxy.BO.UserFileImpl</businessObject>
<methodName>Update</methodName>
I also tried this. It doesn't even update the database.
foreach (var ttEmpBasic_iterator in (from ttEmpBasic_Row in ttEmpBasic
where ttEmpBasic_Row.RowMod.ToString().ToUpper() == IceRow.ROWSTATE_UPDATED.ToString().ToUpper()
select ttEmpBasic_Row))
{
var ttEmpBasicRow = ttEmpBasic_iterator;
var userFile = (from UserFile_Row in Db.UserFile.With(LockHint.UpdLock)
where UserFile_Row.DcdUserID == ttEmpBasicRow.DcdUserID
select UserFile_Row).FirstOrDefault();
if (userFile != null)
{
Ice.Tablesets.UserFileTableset UserFileDataSet;
Ice.Contracts.UserFileSvcContract hUserFile = Ice.Assemblies.ServiceRenderer.GetService<Ice.Contracts.UserFileSvcContract>(Db);
UserFileDataSet = hUserFile.GetByID(userFile.DcdUserID);
if (ttEmpBasicRow.EmpStatus.ToUpper() == "A")
{
UserFileDataSet.UserFile[0].UserDisabled = false;
}
else if (ttEmpBasicRow.EmpStatus.ToUpper() == "T")
{
UserFileDataSet.UserFile[0].UserDisabled = true;
}
hUserFile.Update(ref UserFileDataSet);
hUserFile = null;
}
}
Did you trace out the UI when you manually disable is there another field / flag that gets set? Or maybe a BO Method?
Jose C Gomez
Quis custodiet
ipsos custodes?
On Fri, Jun 20, 2014 at 9:53 AM,
tkoch77@... [vantage]
<vantage@yahoogroups.com> wrote:
<div>
<div>Can anyone tell me if they see an issue with this, still testing the waters on the new BPM's. It updates the database (I verify with a BAQ) but the field on the UI form does not reflect the update? This is happening on the EmpBasic Data Directive when the EmpStatus field changes.<br clear="none">
Thanks!
foreach (var ttEmpBasic_iterator in (from ttEmpBasic_Row in ttEmpBasic
where ttEmpBasic_Row.RowMod.ToString().ToUpper() == IceRow.ROWSTATE_UPDATED.ToString().ToUpper()
select ttEmpBasic_Row))
{
var ttEmpBasicRow = ttEmpBasic_iterator;
var userFile = (from UserFile_Row in Db.UserFile.With(LockHint.UpdLock)
where UserFile_Row.DcdUserID == ttEmpBasicRow.DcdUserID
select UserFile_Row).FirstOrDefault();
if (userFile != null)
{
if (ttEmpBasicRow.EmpStatus.ToUpper() == "A")
{
userFile.UserDisabled = false;
Db.Validate();
}
else if (ttEmpBasicRow.EmpStatus.ToUpper() == "T")
{
userFile.UserDisabled = true;
Db.Validate();
}
}
}
</div>
<div style="color:#fff;min-height:0;"></div>