From: "Jose Gomez jose@... [vantage]" <vantage@yahoogroups.com>
To: Vantage <vantage@yahoogroups.com>
Sent: Monday, August 18, 2014 11:29 AM
Subject: Re: [Vantage] Set Date01 To Null
#ygrps-yiv-24691741yiv0589809329 .ygrps-yiv-24691741yiv0589809329ygrp-photo-title{
clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329ygrp-photo{
background-position:center;background-repeat:no-repeat;background-color:white;border:1px solid black;height:62px;width:62px;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329photo-title
a,
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329photo-title a:active,
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329photo-title a:hover,
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329photo-title a:visited {
text-decoration:none;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329attach-table div.ygrps-yiv-24691741yiv0589809329attach-row {
clear:both;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329attach-table div.ygrps-yiv-24691741yiv0589809329attach-row div {
float:left;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 p {
clear:both;padding:15px 0 3px 0;overflow:hidden;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329ygrp-file {
width:30px;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329attach-table div.ygrps-yiv-24691741yiv0589809329attach-row div div a {
text-decoration:none;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329attach-table div.ygrps-yiv-24691741yiv0589809329attach-row div div span {
font-weight:normal;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 div.ygrps-yiv-24691741yiv0589809329ygrp-file-title {
font-weight:bold;}
#ygrps-yiv-24691741
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 #ygrps-yiv-24691741yiv0589809329 –
#ygrps-yiv-24691741yiv0589809329ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 #ygrps-yiv-24691741yiv0589809329ygrp-mkp hr {
border:1px solid #d8d8d8;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 #ygrps-yiv-24691741yiv0589809329ygrp-mkp #ygrps-yiv-24691741yiv0589809329hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 #ygrps-yiv-24691741yiv0589809329ygrp-mkp #ygrps-yiv-24691741yiv0589809329ads {
margin-bottom:10px;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 #ygrps-yiv-24691741yiv0589809329ygrp-mkp .ygrps-yiv-24691741yiv0589809329ad {
padding:0 0;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 #ygrps-yiv-24691741yiv0589809329ygrp-mkp .ygrps-yiv-24691741yiv0589809329ad p {
margin:0;}
#ygrps-yiv-24691741 #ygrps-yiv-24691741yiv0589809329 #ygrps-yiv-24691741yiv0589809329ygrp-mkp .ygrps-yiv-24691741yiv0589809329ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-24691741
Jose C Gomez
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
On Mon, Aug 18, 2014 at 11:21 AM, Ted Koch tkoch77@... [vantage] <vantage@yahoogroups.com> wrote:
<div style="" class="ygrps-yiv-24691741"> <div class="ygrps-yiv-24691741" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8pt;"><div style="" class="ygrps-yiv-24691741"><span style="" class="ygrps-yiv-24691741">This is the code I am using, but at the SetField line it is generating an error.</span></div>
vendorAdapt.GetByID((int)edvVendor.dataView[edvVendor.Row]["VendorNum"]);
VendorDataSet vds = vendorAdapt.VendorData;
vds.Vendor[0].BeginEdit();vds.Vendor[0]["CheckBox01"] = false;
vds.Vendor[0].SetField<DateTime?>("Date01", null);
vds.Vendor[0]["CheckBox02"] =
false;
vds.Vendor[0].EndEdit();
vendorAdapt.Update();
Error: CS1061 - line 111 (660) - 'Erp.BO.VendorDataSet.VendorRow' does not contain a definition for 'SetField' and no extension method 'SetField' accepting a first argument of type 'Erp.BO.VendorDataSet.VendorRow' could be found (are you missing a using directive or an assembly reference?)
From: "Jose Gomez jose@... [vantage]" <vantage@yahoogroups.com>
To: Vantage <vantage@yahoogroups.com>
Sent: Monday, August 18, 2014 11:12 AM
Subject: Re: [Vantage] Set Date01 To Null
Same thing would work in customization mode, just bring in the BO and reference it from the Adapter
BOdataSet ds = adapter.AdapterDataset…
On Mon, Aug 18, 2014 at 11:09 AM, tkoch77@... [vantage] <vantage@yahoogroups.com> wrote:
<div style="" class="ygrps-yiv-24691741"> <div style="" class="ygrps-yiv-24691741">Does anyone know how you would achieve this with date fields in E10? The <span style="" class="ygrps-yiv-24691741"><font style="" class="ygrps-yiv-24691741" face="verdana, sans-serif">SetDate01Null() method is no longer.I've tried this but it won't compile in an Epicor customization. In Visual Studio with Erp.Contracts.BO.Vendor referenced it compiles fine.vds.Vendor[0].SetField<DateTime?>("Date01", null);Thanks,Ted</font></span></div> </div> <div class="ygrps-yiv-24691741" style="color:#fff;min-height:0;"></div>
</div> <div class="ygrps-yiv-24691741" style="color:#fff;min-height:0;"></div>