﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Using Custom Fill Methods on BO</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 13 May 2026 23:01:28 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6266.aspx</link><description>Are you creating the stored procedure?&amp;nbsp; If so, what do your CRUD settings look like on your BO?&amp;nbsp; Last, what does the SP look like?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Please do not post the entire SP text in the text &amp;#119;indow.&amp;nbsp; Upload it as an attachment so we can get a more accurate view.</description><pubDate>Thu, 25 Jan 2007 17:49:30 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost5597.aspx</link><description>&amp;nbsp;When creating a Custom Fill Method does the Data Retrieval order have to match the Business Object Definition order or will the BO auto map the fields to the properties based on the column names?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Richard</description><pubDate>Thu, 25 Jan 2007 17:49:30 GMT</pubDate><dc:creator>Richard Keller</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6241.aspx</link><description>Taking the variable out of the SP does not change anything &lt;/P&gt;&lt;P&gt;the only way to make it work is to change the SP's that get the data and make sure reseller is not in the data returned.</description><pubDate>Thu, 25 Jan 2007 11:51:55 GMT</pubDate><dc:creator>Bradley Marston</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6240.aspx</link><description>OK, you can remove the @reseller field from the update command.&amp;nbsp; The business object will only attempt to update fields that are part of the mapped table (those contained in the AllFieldsList).&amp;nbsp; Since your business object was mapped to Customers, it does not think that @reseller should be supplied because it doesn't think it's part of the updating table.&amp;nbsp; So, whatever the structure of the data table inside the business object, it's only going to update the fields that are part of the mapped table on SQL Server.</description><pubDate>Thu, 25 Jan 2007 11:43:46 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6238.aspx</link><description>No I am just trying to do an update in the customers table&lt;/P&gt;&lt;P&gt;the Reseller field from the Select Was used by another apllication&lt;/P&gt;&lt;P&gt;CREATE PROCEDURE UDSP_Customers_GetData&lt;BR&gt;&amp;nbsp;( &amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;@Customer_UID uniqueidentifier = NULL&lt;BR&gt;&amp;nbsp;)&lt;BR&gt;AS&lt;/P&gt;&lt;P&gt;SET NOCOUNT ON&lt;/P&gt;&lt;P&gt;SELECT cs.*, rs.reseller&lt;BR&gt;&amp;nbsp;FROM Customers cs JOIN&lt;BR&gt;&amp;nbsp;&amp;nbsp;Reseller rs ON cs.reseller_UID = rs.reseller_UID&lt;BR&gt;&amp;nbsp;WHERE Customer_UID = @Customer_UID&lt;BR&gt;&lt;/P&gt;&lt;P&gt;_________________________________________________________________&lt;/P&gt;&lt;P&gt;CREATE PROCEDURE UDSP_Customers_Update&lt;BR&gt;(&amp;nbsp;&lt;BR&gt;&amp;nbsp;@Customer_UID uniqueidentifier , &amp;nbsp;&lt;BR&gt;&amp;nbsp;@CustomerName varchar(50)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerStreet varchar(50)&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerStreet2 varchar(50)&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerCity varchar(32)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerState char(2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerZIP varchar(9)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Name varchar(50)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Phone varchar(20)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Ext varchar(4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Mobile varchar(20)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Fax varchar(20)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_EmailAddr varchar(80)&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@Status char(16)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@DealerNum char(7)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@ODNum char(7)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@OD2Num char(7)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@UpdatedBy varchar(16)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , &amp;nbsp;&lt;BR&gt;&amp;nbsp;@CreatedBy varchar(16)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@Updateddt datetime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@Createddt datetime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@Customer_UID_ORGPK uniqueidentifier = NULL,&lt;BR&gt;&amp;nbsp;@Reseller_UID uniqueidentifier = NULL,&lt;BR&gt;&amp;nbsp;@reseller varchar(16)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL &lt;BR&gt;)&lt;BR&gt;AS&lt;/P&gt;&lt;P&gt;SET NOCOUNT ON&lt;/P&gt;&lt;P&gt;UPDATE customers SET &amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;CustomerName&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@CustomerName, CustomerName), &lt;BR&gt;&amp;nbsp;&amp;nbsp;CustomerStreet&amp;nbsp; = ISNULL(@CustomerStreet, CustomerStreet), &lt;BR&gt;&amp;nbsp;&amp;nbsp;CustomerStreet2&amp;nbsp; = ISNULL(@CustomerStreet2, CustomerStreet2), &lt;BR&gt;&amp;nbsp;&amp;nbsp;CustomerCity&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@CustomerCity, CustomerCity), &lt;BR&gt;&amp;nbsp;&amp;nbsp;CustomerState&amp;nbsp;&amp;nbsp; = ISNULL(@CustomerState, CustomerState), &lt;BR&gt;&amp;nbsp;&amp;nbsp;CustomerZIP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@CustomerZIP, CustomerZIP), &lt;BR&gt;&amp;nbsp;&amp;nbsp;LCon_Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@LCon_Name, LCon_Name), &lt;BR&gt;&amp;nbsp;&amp;nbsp;LCon_Phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@LCon_Phone, LCon_Phone), &lt;BR&gt;&amp;nbsp;&amp;nbsp;LCon_Ext&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@LCon_Ext, LCon_Ext), &lt;BR&gt;&amp;nbsp;&amp;nbsp;LCon_Mobile&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@LCon_Mobile, LCon_Mobile), &lt;BR&gt;&amp;nbsp;&amp;nbsp;LCon_Fax&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@LCon_Fax, LCon_Fax), &lt;BR&gt;&amp;nbsp;&amp;nbsp;LCon_EmailAddr&amp;nbsp; = ISNULL(@LCon_EmailAddr, LCon_EmailAddr), &lt;BR&gt;&amp;nbsp;&amp;nbsp;Status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@Status, Status), &lt;BR&gt;&amp;nbsp;&amp;nbsp;DealerNum&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@DealerNum, DealerNum), &lt;BR&gt;&amp;nbsp;&amp;nbsp;ODNum&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@ODNum, ODNum), &lt;BR&gt;&amp;nbsp;&amp;nbsp;OD2Num&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@OD2Num, OD2Num), &amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;Reseller_UID&amp;nbsp;&amp;nbsp;&amp;nbsp; = ISNULL(@Reseller_UID, Reseller_UID),&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;UpdatedBy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = UpdatedBy,&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;UpdatedDt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = GETDATE()&lt;/P&gt;&lt;P&gt;&amp;nbsp;WHERE Customer_UID&amp;nbsp;&amp;nbsp;&amp;nbsp; = @Customer_UID</description><pubDate>Thu, 25 Jan 2007 11:37:55 GMT</pubDate><dc:creator>Bradley Marston</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6232.aspx</link><description>Are you trying to update the Reseller.reseller field?&amp;nbsp; Or are you trying to just update the fields within the Customers table?</description><pubDate>Thu, 25 Jan 2007 11:03:02 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6229.aspx</link><description>here are the fileshopfully you will find something.</description><pubDate>Thu, 25 Jan 2007 10:44:16 GMT</pubDate><dc:creator>Bradley Marston</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6223.aspx</link><description>The image of the debug file that you posted is a little too small to be legible.&amp;nbsp; Could you zip it and the partial class for your business object and post them here?&lt;/P&gt;&lt;P&gt;Don't post it here if there's&amp;nbsp;a password in the connection string... email it to me through the forum.</description><pubDate>Thu, 25 Jan 2007 10:25:36 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6221.aspx</link><description>&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=smalltxt vAlign=top&gt;&lt;P&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic__ctl0_ctlPanelBar_ctlTopicsRepeater__ctl6_lblFullMessage&gt;Sorry&amp;nbsp;"No the AllFieldsList property&amp;nbsp; does bot show it as a property"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should have said that reselller is not a member of AllFieldsList .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&amp;nbsp;AllFieldsList&amp;nbsp; has 22 memebers of which reselller is not one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are 24 variables&amp;nbsp;in&amp;nbsp; the stored proc&amp;nbsp;@Customer_UID_ORGPK&amp;nbsp; and&amp;nbsp;&amp;nbsp;&amp;nbsp;@reseller&amp;nbsp; are added for strataframe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;CREATE PROCEDURE UDSP_Customers_Update&lt;BR&gt;(&amp;nbsp;&lt;BR&gt;&amp;nbsp;@Customer_UID uniqueidentifier , &amp;nbsp;&lt;BR&gt;&amp;nbsp;@CustomerName varchar(50)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerStreet varchar(50)&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerStreet2 varchar(50)&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerCity varchar(32)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerState char(2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@CustomerZIP varchar(9)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Name varchar(50)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Phone varchar(20)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Ext varchar(4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Mobile varchar(20)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_Fax varchar(20)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@LCon_EmailAddr varchar(80)&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@Status char(16)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@DealerNum char(7)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@ODNum char(7)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@OD2Num char(7)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@UpdatedBy varchar(16)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , &amp;nbsp;&lt;BR&gt;&amp;nbsp;@CreatedBy varchar(16)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@Updateddt datetime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@Createddt datetime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL, &lt;BR&gt;&amp;nbsp;@Customer_UID_ORGPK uniqueidentifier = NULL,&lt;BR&gt;&amp;nbsp;@Reseller_UID uniqueidentifier = NULL,&lt;BR&gt;&amp;nbsp;-- bellow added for sf &lt;BR&gt;&amp;nbsp;@reseller varchar(16)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NULL &lt;BR&gt;)&lt;BR&gt;AS&lt;BR&gt;</description><pubDate>Thu, 25 Jan 2007 10:18:42 GMT</pubDate><dc:creator>Bradley Marston</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6217.aspx</link><description>The AllFieldsList is a property on the BusinessLayer class, so, if you put a breakpoint within one of your methods on your business object, you can test the AllFieldsList property to see if it contains "reseller".&amp;nbsp; When the DAL builds the UPDATE query for a business object, it iterates through the columns on the business object and adds them to the update command only if the column is included in the AllFieldsList of the business object.&lt;/P&gt;&lt;P&gt;The next release also contains some additional functionality for the business objects to allow them to exclude fields from updates.&amp;nbsp; The feature is currently in testing by a few of our users and will be included in the next release.</description><pubDate>Thu, 25 Jan 2007 09:54:02 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6200.aspx</link><description>No the AllFieldsList property&amp;nbsp; does bot show it as a property&lt;P&gt;Hete is my select statement form sql server Sp&lt;/P&gt;&lt;P&gt;SELECT cs.*, rs.reseller&lt;BR&gt;&amp;nbsp;FROM Customers cs JOIN&lt;BR&gt;&amp;nbsp;&amp;nbsp;Reseller rs ON cs.reseller_UID = rs.reseller_UID&lt;BR&gt;&amp;nbsp;WHERE Customer_UID = @Customer_UID&lt;BR&gt;&lt;/P&gt;&lt;P&gt;If I remove &amp;nbsp;",rs.reseller"&amp;nbsp; Then the save works in edit mode (still do not know why add works)&lt;/P&gt;&lt;P&gt;here is the error dump &lt;/P&gt;&lt;P&gt;DataLayerSavingException&lt;BR&gt;&amp;nbsp;Invalid column name 'reseller'.&lt;BR&gt;SqlException&lt;BR&gt;&amp;nbsp;Invalid column name 'reseller'.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MicroFour StrataFrame Business&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlDataReader.get_MetaData()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.DbDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.SqlDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.DbDataSourceItem.GetDataTable(QueryInformation QueryInfo, OnChangeEventHandler CallBack)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.DataLayer.GetRowFromServer(DataRow LocalRow)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.DataLayer.HandleConcurrencyException(DataRow LocalRow)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.SqlDataSourceItem.UpdateRow(QueryInformation QueryInfo, DataRow RowToUpdate, ConcurrencyExceptionHandler ConcurrencyHandler, AddRowErrorHandler RowErrorHandler, Boolean RecreateCommand)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.DbDataSourceItem.UpdateRow(QueryInformation QueryInfo, DataRow RowToUpdate, ConcurrencyExceptionHandler ConcurrencyHandler, AddRowErrorHandler RowErrorHandler)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.DataLayer.UpdateDataTableThread(Object ThreadParams)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.Save(Boolean Transactional, String TransactionKey)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.Save()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at ASTSWITCHTEST.Form1.button7_Click(Object sender, EventArgs e) in C:\strataframetest\ASTSWITCH\ASTSWITCHTEST\ASTSWITCHTEST\Form1.cs:line 93&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Button.OnClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Button.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;BR&gt;&lt;/P&gt;&lt;P&gt;below is the output from &lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;MicroFour.StrataFrame.Data.&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;DataBasics&lt;/FONT&gt;&lt;FONT size=2&gt;.DataSources[&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"cnDB"&lt;/FONT&gt;&lt;FONT size=2&gt;].SetDebugOn(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"C:\\Debug.html"&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;FONT size=2&gt;); &lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/990a13b4-fc9b-4ddc-a949-adf3.JPG"&gt;</description><pubDate>Thu, 25 Jan 2007 07:34:27 GMT</pubDate><dc:creator>Bradley Marston</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6174.aspx</link><description>Does the AllFieldsList property of your business object contain that field?&amp;nbsp; Also, what is the full exception that you're getting?&amp;nbsp;&amp;nbsp;Having the stack trace will help point me in the right direction.</description><pubDate>Wed, 24 Jan 2007 13:50:42 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost6166.aspx</link><description>I have a BO that is mapped to a table. To fill the object I call &lt;P&gt;the FillbyStoredProc method. The stored proc that is called adds 1 additional field&lt;/P&gt;&lt;P&gt;from another table all seems fine except when i try to call my update stored proc&lt;/P&gt;&lt;P&gt;then I seem to get a data layer exception on this added field, Oddly it does not happen on calling my insert proc</description><pubDate>Wed, 24 Jan 2007 11:59:21 GMT</pubDate><dc:creator>Bradley Marston</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost5602.aspx</link><description>Gary is correct.&amp;nbsp; The order of the columns in the returned result set does not matter.&amp;nbsp; Also, the columns returned to not have to exactly match the field properties on the business object.&amp;nbsp; On a per-column basis, what Gary said is correct... the name and the data type have to match.&amp;nbsp; But, you can have more or fewer columns in the return result set than the strong typed field properties on the business object.&amp;nbsp; If you have a property that doesn't have a corresponding column in the DataTable, you cannot access it (because there's no data behind the property), so don't touch it in code if the field is not in the DataTable.&amp;nbsp; However, if you have a column in the table that doesn't have a field property, you can access it through the .Item (default/indexer) property like this (comes in handy for joins and aggregate fields like COUNTs and such):&lt;/P&gt;&lt;P&gt;myBO("MyField") = "some value" '-- VB&lt;/P&gt;&lt;P&gt;myBO["MyField"] = "some value"; //-- C#</description><pubDate>Fri, 05 Jan 2007 09:17:40 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using Custom Fill Methods on BO</title><link>http://forum.strataframe.net/FindPost5599.aspx</link><description>&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=smalltxt vAlign=top&gt;&lt;P&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic__ctl0_ctlPanelBar_ctlTopicsRepeater__ctl1_lblFullMessage&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;nbsp;When creating a Custom Fill Method does the Data Retrieval order have to match the Business Object Definition order or will the BO auto map the fields to the properties based on the column names?&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I assume you are referring to the order of the columns in your returned result set? If so, it doesn't matter to the SF business object. It will read and write the data to the column in the inner DataTable (referenced by the CurrentDataTable property). As long as they are named the same and are of the same datatype/precision, you will be good to go.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;-=Gary</description><pubDate>Fri, 05 Jan 2007 08:35:49 GMT</pubDate><dc:creator>Gary Wynne</dc:creator></item></channel></rss>