﻿<?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 » Issues  » Issue with _Insert and _Update</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 07 Apr 2026 19:49:24 GMT</lastBuildDate><ttl>20</ttl><item><title>Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33610.aspx</link><description>i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 06 Mar 2024 16:22:54 GMT</pubDate><dc:creator>Sean Kelly</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33622.aspx</link><description>&lt;blockquote data-id="33621" class="if-quote-wrapper" unselectable="on" data-guid="1709763735683" contenteditable="false" id="if_insertedNode_1709763734115"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33621" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33621" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33621" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33621"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33620" class="if-quote-wrapper" unselectable="on" data-guid="1709763735683" contenteditable="false" id="if_insertedNode_1709761895554"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33620" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33620" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33620" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33620"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33619" class="if-quote-wrapper" unselectable="on" data-guid="1709763735683" contenteditable="false" id="if_insertedNode_1709759452550"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33619" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33619" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33619" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33619"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33617" class="if-quote-wrapper" unselectable="on" data-guid="1709763735683" contenteditable="false" id="if_insertedNode_1709757788179"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33617" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33617" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33617" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33617"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33615" class="if-quote-wrapper" unselectable="on" data-guid="1709763735683" contenteditable="false" id="if_insertedNode_1709757730614"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33615" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33615" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33615" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33615"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33614" class="if-quote-wrapper" unselectable="on" data-guid="1709763735683" contenteditable="false" id="if_insertedNode_1709757285541"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33614" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33614" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33614" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33614"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33612" class="if-quote-wrapper" unselectable="on" data-guid="1709763735683" contenteditable="false" id="if_insertedNode_1709756751748"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33612" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33612" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709763735683" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709763735683" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!&lt;a class="if-quote-goto quote-link" href="#" data-id="33612"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks Edhy!&amp;nbsp; It's like the SF all-stars helping me out... 8^ )&lt;br/&gt;&lt;br/&gt;I'll attach Larry's doc if needed.&amp;nbsp; It is a lengthy list of steps...&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33614"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Shawn,&lt;br/&gt;Did you regenerate the BO from the BOM?&lt;a class="if-quote-goto quote-link" href="#" data-id="33615"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;yes... if you mean Rebuild&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33617"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;And i should add... that Larry had me run the DDT outside of VS...&amp;nbsp; as a separate program/icon in my Start Menu...&lt;br/&gt;And that the BOM is run from VS... Extensions -&amp;gt; Strataframe -&amp;gt; BOM&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33619"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Yes, that is correct.&amp;nbsp; Do you CRUD settings look something like this:&lt;br/&gt;&lt;img src="../Uploads/Images/2dda0f91-a744-4fd3-9f90-4cf1.jpg" id="if_insertedNode_1709759564387"&gt;&lt;br/&gt;This indicates that the BO will determine the name of the SPROC used.&amp;nbsp; Second, are you including all of the fields in the query to populate this BO?&amp;nbsp; It will enumerate the DataTable columns like the code below.&amp;nbsp; So if you run a query to populate the BO and then don't include all of the columns then try to save, it will create this same issue.&amp;nbsp; Here is how it determines which columns will be included in the SPROC update process:&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1709759792873"&gt;&lt;span id="if_insertedNode_1709759810618"&gt;[code language="vb"]For Each loColumn In UpdatingTable.Columns&lt;br/&gt;'-- Logic here to build SPROC columns&lt;br/&gt;Next[/code]&lt;br/&gt;&lt;br/&gt;One thing you can do is put a debug where you are saving before it actually calls the save itself.&amp;nbsp; Look at the CurrentDataTable property in the VS debug viewer and see what columns are there.&amp;nbsp; I bet they are missing the new ones, but the Update SPROC is expecting them.&lt;/span&gt;&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33620"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Wow.&amp;nbsp; It's both embarrassing AND a relief.&amp;nbsp; Thank you both for helping me.&lt;br/&gt;I'm pretty maniacal about updating the SPROCs, but in this case, i must not have updated the DDT.&lt;br/&gt;AND, that little issue didn't rear it's ugly head until I needed to run the DDT - which must have coincided with the upgrade.&lt;br/&gt;Ah geez fellas. I'm not a rookie, but I made a rookie mistake.&amp;nbsp; I'll update my Strataframe Wiki to make sure it doesn't happen again.&lt;br/&gt;Thanks again both of you.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33621"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;LOL...I am 30+ years in and I just made a rookie mistake 10 minutes ago...so no judgement here!!&amp;nbsp; Glad you got it figured out.</description><pubDate>Wed, 06 Mar 2024 16:22:54 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33621.aspx</link><description>&lt;blockquote data-id="33620" class="if-quote-wrapper" unselectable="on" data-guid="1709761897139" contenteditable="false" id="if_insertedNode_1709761895554"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33620" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33620" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33620" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33620"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33619" class="if-quote-wrapper" unselectable="on" data-guid="1709761897139" contenteditable="false" id="if_insertedNode_1709759452550"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33619" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33619" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33619" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33619"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33617" class="if-quote-wrapper" unselectable="on" data-guid="1709761897139" contenteditable="false" id="if_insertedNode_1709757788179"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33617" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33617" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33617" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33617"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33615" class="if-quote-wrapper" unselectable="on" data-guid="1709761897139" contenteditable="false" id="if_insertedNode_1709757730614"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33615" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33615" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33615" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33615"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33614" class="if-quote-wrapper" unselectable="on" data-guid="1709761897139" contenteditable="false" id="if_insertedNode_1709757285541"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33614" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33614" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33614" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33614"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33612" class="if-quote-wrapper" unselectable="on" data-guid="1709761897139" contenteditable="false" id="if_insertedNode_1709756751748"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33612" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33612" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709761897139" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709761897139" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!&lt;a class="if-quote-goto quote-link" href="#" data-id="33612"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks Edhy!&amp;nbsp; It's like the SF all-stars helping me out... 8^ )&lt;br/&gt;&lt;br/&gt;I'll attach Larry's doc if needed.&amp;nbsp; It is a lengthy list of steps...&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33614"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Shawn,&lt;br/&gt;Did you regenerate the BO from the BOM?&lt;a class="if-quote-goto quote-link" href="#" data-id="33615"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;yes... if you mean Rebuild&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33617"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;And i should add... that Larry had me run the DDT outside of VS...&amp;nbsp; as a separate program/icon in my Start Menu...&lt;br/&gt;And that the BOM is run from VS... Extensions -&amp;gt; Strataframe -&amp;gt; BOM&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33619"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Yes, that is correct.&amp;nbsp; Do you CRUD settings look something like this:&lt;br/&gt;&lt;img src="../Uploads/Images/2dda0f91-a744-4fd3-9f90-4cf1.jpg" id="if_insertedNode_1709759564387"&gt;&lt;br/&gt;This indicates that the BO will determine the name of the SPROC used.&amp;nbsp; Second, are you including all of the fields in the query to populate this BO?&amp;nbsp; It will enumerate the DataTable columns like the code below.&amp;nbsp; So if you run a query to populate the BO and then don't include all of the columns then try to save, it will create this same issue.&amp;nbsp; Here is how it determines which columns will be included in the SPROC update process:&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1709759792873"&gt;&lt;span id="if_insertedNode_1709759810618"&gt;[code language="vb"]For Each loColumn In UpdatingTable.Columns&lt;br/&gt;'-- Logic here to build SPROC columns&lt;br/&gt;Next[/code]&lt;br/&gt;&lt;br/&gt;One thing you can do is put a debug where you are saving before it actually calls the save itself.&amp;nbsp; Look at the CurrentDataTable property in the VS debug viewer and see what columns are there.&amp;nbsp; I bet they are missing the new ones, but the Update SPROC is expecting them.&lt;/span&gt;&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33620"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Wow.&amp;nbsp; It's both embarrassing AND a relief.&amp;nbsp; Thank you both for helping me.&lt;br/&gt;I'm pretty maniacal about updating the SPROCs, but in this case, i must not have updated the DDT.&lt;br/&gt;AND, that little issue didn't rear it's ugly head until I needed to run the DDT - which must have coincided with the upgrade.&lt;br/&gt;Ah geez fellas. I'm not a rookie, but I made a rookie mistake.&amp;nbsp; I'll update my Strataframe Wiki to make sure it doesn't happen again.&lt;br/&gt;Thanks again both of you.&lt;br/&gt;</description><pubDate>Wed, 06 Mar 2024 15:57:16 GMT</pubDate><dc:creator>Sean Kelly</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33620.aspx</link><description>&lt;blockquote data-id="33619" class="if-quote-wrapper" unselectable="on" data-guid="1709759453609" contenteditable="false" id="if_insertedNode_1709759452550"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33619" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33619" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33619" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33619"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33617" class="if-quote-wrapper" unselectable="on" data-guid="1709759453609" contenteditable="false" id="if_insertedNode_1709757788179"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33617" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33617" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33617" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33617"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33615" class="if-quote-wrapper" unselectable="on" data-guid="1709759453609" contenteditable="false" id="if_insertedNode_1709757730614"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33615" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33615" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33615" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33615"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33614" class="if-quote-wrapper" unselectable="on" data-guid="1709759453609" contenteditable="false" id="if_insertedNode_1709757285541"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33614" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33614" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33614" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33614"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33612" class="if-quote-wrapper" unselectable="on" data-guid="1709759453609" contenteditable="false" id="if_insertedNode_1709756751748"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33612" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33612" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709759453609" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709759453609" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!&lt;a class="if-quote-goto quote-link" href="#" data-id="33612"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks Edhy!&amp;nbsp; It's like the SF all-stars helping me out... 8^ )&lt;br/&gt;&lt;br/&gt;I'll attach Larry's doc if needed.&amp;nbsp; It is a lengthy list of steps...&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33614"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Shawn,&lt;br/&gt;Did you regenerate the BO from the BOM?&lt;a class="if-quote-goto quote-link" href="#" data-id="33615"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;yes... if you mean Rebuild&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33617"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;And i should add... that Larry had me run the DDT outside of VS...&amp;nbsp; as a separate program/icon in my Start Menu...&lt;br/&gt;And that the BOM is run from VS... Extensions -&amp;gt; Strataframe -&amp;gt; BOM&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33619"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Yes, that is correct.&amp;nbsp; Do you CRUD settings look something like this:&lt;br/&gt;&lt;img src="../Uploads/Images/2dda0f91-a744-4fd3-9f90-4cf1.jpg" id="if_insertedNode_1709759564387"&gt;&lt;br/&gt;This indicates that the BO will determine the name of the SPROC used.&amp;nbsp; Second, are you including all of the fields in the query to populate this BO?&amp;nbsp; It will enumerate the DataTable columns like the code below.&amp;nbsp; So if you run a query to populate the BO and then don't include all of the columns then try to save, it will create this same issue.&amp;nbsp; Here is how it determines which columns will be included in the SPROC update process:&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1709759792873"&gt;&lt;span id="if_insertedNode_1709759810618"&gt;[code language="vb"]For Each loColumn In UpdatingTable.Columns&lt;br/&gt;'-- Logic here to build SPROC columns&lt;br/&gt;Next[/code]&lt;br/&gt;&lt;br/&gt;One thing you can do is put a debug where you are saving before it actually calls the save itself.&amp;nbsp; Look at the CurrentDataTable property in the VS debug viewer and see what columns are there.&amp;nbsp; I bet they are missing the new ones, but the Update SPROC is expecting them.&lt;/span&gt;&lt;/span&gt;</description><pubDate>Wed, 06 Mar 2024 15:18:16 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33619.aspx</link><description>&lt;blockquote data-id="33617" class="if-quote-wrapper" unselectable="on" data-guid="1709757789211" contenteditable="false" id="if_insertedNode_1709757788179"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33617" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33617" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33617" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33617"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33615" class="if-quote-wrapper" unselectable="on" data-guid="1709757789211" contenteditable="false" id="if_insertedNode_1709757730614"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33615" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33615" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33615" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33615"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33614" class="if-quote-wrapper" unselectable="on" data-guid="1709757789211" contenteditable="false" id="if_insertedNode_1709757285541"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33614" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33614" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33614" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33614"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33612" class="if-quote-wrapper" unselectable="on" data-guid="1709757789211" contenteditable="false" id="if_insertedNode_1709756751748"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33612" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33612" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709757789211" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709757789211" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!&lt;a class="if-quote-goto quote-link" href="#" data-id="33612"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks Edhy!&amp;nbsp; It's like the SF all-stars helping me out... 8^ )&lt;br/&gt;&lt;br/&gt;I'll attach Larry's doc if needed.&amp;nbsp; It is a lengthy list of steps...&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33614"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Shawn,&lt;br/&gt;Did you regenerate the BO from the BOM?&lt;a class="if-quote-goto quote-link" href="#" data-id="33615"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;yes... if you mean Rebuild&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33617"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;And i should add... that Larry had me run the DDT outside of VS...&amp;nbsp; as a separate program/icon in my Start Menu...&lt;br/&gt;And that the BOM is run from VS... Extensions -&amp;gt; Strataframe -&amp;gt; BOM&lt;br/&gt;</description><pubDate>Wed, 06 Mar 2024 14:46:04 GMT</pubDate><dc:creator>Sean Kelly</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33618.aspx</link><description>&lt;blockquote data-id="33616" class="if-quote-wrapper" unselectable="on" data-guid="1709757682807" contenteditable="false" id="if_insertedNode_1709757682026"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33616" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33616" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33616" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33616"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33615" class="if-quote-wrapper" unselectable="on" data-guid="1709757682807" contenteditable="false" id="if_insertedNode_1709757575657"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33615" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33615" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33615" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33615"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33614" class="if-quote-wrapper" unselectable="on" data-guid="1709757682807" contenteditable="false" id="if_insertedNode_1709757285541"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33614" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33614" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33614" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33614"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33612" class="if-quote-wrapper" unselectable="on" data-guid="1709757682807" contenteditable="false" id="if_insertedNode_1709756751748"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33612" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33612" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709757682807" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709757682807" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!&lt;a class="if-quote-goto quote-link" href="#" data-id="33612"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks Edhy!&amp;nbsp; It's like the SF all-stars helping me out... 8^ )&lt;br/&gt;&lt;br/&gt;I'll attach Larry's doc if needed.&amp;nbsp; It is a lengthy list of steps...&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33614"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Shawn,&lt;br/&gt;Did you regenerate the BO from the BOM?&lt;a class="if-quote-goto quote-link" href="#" data-id="33615"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I was going to have you do that very thing next, have you rebuilt the partial yet like Edhy mentione?&lt;a class="if-quote-goto quote-link" href="#" data-id="33616"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Also, in my case, just opening and loading the BOM takes several minutes with the last update, so be patience.&lt;br/&gt;&lt;br/&gt;Once you have it, locate the class corresponding to your BO, then, right click and regenerate it.&amp;nbsp;&lt;span id="if_insertedNode_1709757773637"&gt;:hehe:&lt;/span&gt;</description><pubDate>Wed, 06 Mar 2024 14:42:55 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33617.aspx</link><description>&lt;blockquote data-id="33615" class="if-quote-wrapper" unselectable="on" data-guid="1709757732235" contenteditable="false" id="if_insertedNode_1709757730614"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33615" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33615" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33615" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33615"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33614" class="if-quote-wrapper" unselectable="on" data-guid="1709757732235" contenteditable="false" id="if_insertedNode_1709757285541"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33614" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33614" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33614" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33614"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33612" class="if-quote-wrapper" unselectable="on" data-guid="1709757732235" contenteditable="false" id="if_insertedNode_1709756751748"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33612" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33612" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709757732235" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709757732235" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!&lt;a class="if-quote-goto quote-link" href="#" data-id="33612"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks Edhy!&amp;nbsp; It's like the SF all-stars helping me out... 8^ )&lt;br/&gt;&lt;br/&gt;I'll attach Larry's doc if needed.&amp;nbsp; It is a lengthy list of steps...&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33614"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Shawn,&lt;br/&gt;Did you regenerate the BO from the BOM?&lt;a class="if-quote-goto quote-link" href="#" data-id="33615"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;yes... if you mean Rebuild&lt;br/&gt;</description><pubDate>Wed, 06 Mar 2024 14:42:47 GMT</pubDate><dc:creator>Sean Kelly</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33616.aspx</link><description>&lt;blockquote data-id="33615" class="if-quote-wrapper" unselectable="on" data-guid="1709757576762" contenteditable="false" id="if_insertedNode_1709757575657"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33615" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33615" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33615" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33615"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33614" class="if-quote-wrapper" unselectable="on" data-guid="1709757576762" contenteditable="false" id="if_insertedNode_1709757285541"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33614" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33614" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33614" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33614"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33612" class="if-quote-wrapper" unselectable="on" data-guid="1709757576762" contenteditable="false" id="if_insertedNode_1709756751748"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33612" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33612" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709757576762" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709757576762" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!&lt;a class="if-quote-goto quote-link" href="#" data-id="33612"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks Edhy!&amp;nbsp; It's like the SF all-stars helping me out... 8^ )&lt;br/&gt;&lt;br/&gt;I'll attach Larry's doc if needed.&amp;nbsp; It is a lengthy list of steps...&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33614"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Shawn,&lt;br/&gt;Did you regenerate the BO from the BOM?&lt;a class="if-quote-goto quote-link" href="#" data-id="33615"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I was going to have you do that very thing next, have you rebuilt the partial yet like Edhy mentione?</description><pubDate>Wed, 06 Mar 2024 14:40:06 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33615.aspx</link><description>&lt;blockquote data-id="33614" class="if-quote-wrapper" unselectable="on" data-guid="1709757286421" contenteditable="false" id="if_insertedNode_1709757285541"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33614" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33614" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33614" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33614"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33612" class="if-quote-wrapper" unselectable="on" data-guid="1709757286421" contenteditable="false" id="if_insertedNode_1709756751748"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33612" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33612" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709757286421" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709757286421" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!&lt;a class="if-quote-goto quote-link" href="#" data-id="33612"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks Edhy!&amp;nbsp; It's like the SF all-stars helping me out... 8^ )&lt;br/&gt;&lt;br/&gt;I'll attach Larry's doc if needed.&amp;nbsp; It is a lengthy list of steps...&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33614"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Shawn,&lt;br/&gt;Did you regenerate the BO from the BOM?</description><pubDate>Wed, 06 Mar 2024 14:35:09 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33614.aspx</link><description>&lt;blockquote data-id="33612" class="if-quote-wrapper" unselectable="on" data-guid="1709756753204" contenteditable="false" id="if_insertedNode_1709756751748"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33612" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33612" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Edhy Rijo - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709756753204" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709756753204" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!&lt;a class="if-quote-goto quote-link" href="#" data-id="33612"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks Edhy!&amp;nbsp; It's like the SF all-stars helping me out... 8^ )&lt;br/&gt;&lt;br/&gt;I'll attach Larry's doc if needed.&amp;nbsp; It is a lengthy list of steps...&lt;br/&gt;</description><pubDate>Wed, 06 Mar 2024 14:28:25 GMT</pubDate><dc:creator>Sean Kelly</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33613.aspx</link><description>&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709755733670" contenteditable="false" id="if_insertedNode_1709755732536"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709755733670" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Ha ha!&amp;nbsp; I love it.&lt;br/&gt;OK.&amp;nbsp; First, thanks.&amp;nbsp; I found the table schema... in the designer (which I've always had a healthy respect for...)&lt;br/&gt;&lt;img src="../Uploads/Images/3bbce207-9d65-4f0e-a4b6-12d7.JPG" data-download-url="../Uploads/Images/560ffe02-a1a4-486c-8434-eefc.JPG" id="if_insertedNode_1709756095078"&gt;&lt;br/&gt;But everything is there...&lt;br/&gt;But, to make sure I'm talking to the correct SPROC...&lt;br/&gt;I gave a default value to the first&amp;nbsp; parameter... and the error moved on...&lt;br/&gt;?ex.Message&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_DateStarted', which was not supplied."&lt;br/&gt;?ex.Message&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_DateEnded', which was not supplied."&lt;br/&gt;?ex.Message&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_AltOrder', which was not supplied."&lt;br/&gt;&lt;br/&gt;So... VS is talking to the correct SPROC...&amp;nbsp; the Partial BO thinks all the fields are there...&amp;nbsp; any thoughts?&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 06 Mar 2024 14:24:58 GMT</pubDate><dc:creator>Sean Kelly</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33612.aspx</link><description>&lt;blockquote data-id="33611" class="if-quote-wrapper" unselectable="on" data-guid="1709755697686" contenteditable="false" id="if_insertedNode_1709755697159"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33611" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33611" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33611" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Trent Taylor - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33611"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709755697686" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33611"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Trent, Sean,&lt;br/&gt;Well, even though I love having pictures in my messages, but, I am loving more right now seeing this thread in the forum.&lt;br/&gt;I may be wrong, but if I remember correctly, switching to VS2022 also required an updated Extensibility extension and an updated DDT as well.&lt;br/&gt;&lt;br/&gt;Because Sean simply added 4 new columns to this table in the DDT, the DDT is the one responsible for automatically creating these system stored procedures and there may be something failing in that process.&lt;br/&gt;It could also be that the BO was not regenerated from the BOM (Business Object Mapper) then the columns are not in the designer as explained by Trent.&lt;br/&gt;&lt;br/&gt;Best!</description><pubDate>Wed, 06 Mar 2024 14:15:03 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Issue with _Insert and _Update</title><link>http://forum.strataframe.net/FindPost33611.aspx</link><description>&lt;blockquote data-id="33610" class="if-quote-wrapper" unselectable="on" data-guid="1709754426757" contenteditable="false" id="if_insertedNode_1709754426137"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="33610" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="33610" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="33610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean Kelly - 3/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-33610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;i recently updated my projects to VS2022 and the Strataframe "process" that goes along with it.&lt;br/&gt;I apologize, in advance, if this gets a little wordy...but I want to explain where I am at.&lt;br/&gt;&lt;br/&gt;i have an issue in my most recent project (~2018).  A BO is no longer saving using the _Insert and _Update procedures...&lt;br/&gt;&lt;br/&gt;The error:&lt;br/&gt;"Procedure or function 'AlternatePosition_Insert' expects parameter '@ap_UsePrimaryJobTitle', which was not supplied."In theory, that would point to a disconnect between the DDT and the BOM, right?&lt;br/&gt;&lt;br/&gt;I add the screen snip below to point out that 4 items are not updating/inserting properly.&lt;br/&gt;They just happen to be 4 columns that I added after the table's creation.&lt;br/&gt;&lt;img src="../Uploads/Images/c271c21b-9cec-4842-ab2d-307c.JPG" data-download-url="../Uploads/Images/0b4b4abd-707d-4399-aa89-4698.JPG" id="if_insertedNode_1709753514320"&gt;&lt;br/&gt;&lt;br/&gt;Anyway, prior to the conversion to 2022, this BO saved fine. &lt;br/&gt;&lt;br/&gt;And the DDT did its job...&lt;br/&gt;&lt;img src="../Uploads/Images/3ecdb2cf-7f16-423a-96d9-e856.JPG" data-download-url="../Uploads/Images/242d2da2-d563-4e46-91e1-8c10.JPG" id="if_insertedNode_1709753751203"&gt;&lt;br/&gt;&lt;br/&gt;With Larry retired, I am not as well versed in the inner machinations of Strataframe...&lt;br/&gt;For instance, I wouldn't know where to look in SF to check that fields are missing from an _Insert or _Update call.&lt;br/&gt;&lt;br/&gt;When I look in the BOM, i see the full table... but a rebuild doesn't correct the problem.&lt;br/&gt;&lt;img src="../Uploads/Images/6ef96d74-b317-4681-84d3-0154.JPG" data-download-url="../Uploads/Images/26808763-985b-4976-915a-f3e5.JPG" id="if_insertedNode_1709753857181"&gt;&lt;br/&gt;And, I have never had this issue in SF before.  And I've saved many BOs without incident since 2008.&lt;br/&gt;So... the fact that FOUR parameters were not being added... and the proximity to the update/upgrade made me wonder.&lt;br/&gt;&lt;br/&gt;If this is a known issue and I'm just sleeping on it... I apologize.&amp;nbsp; I'm just stuck right now.&lt;br/&gt;Again, I apologize for the wordy post (hey, i did add pictures too!).  Any help you could provide me would be appreciated.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Sean&lt;br/&gt;Santa Cruz County, CA&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="33610"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I enjoyed your post, the comments at the bottom regarding the pictures made me laugh.&amp;nbsp; I know that knowing the inner workings of something can make a huge difference.&amp;nbsp; The good news here is that updating to VS2022 didn't create the issue.&amp;nbsp; We've been on VS2022 for years and this in and of itself doesn't affect how the code works in relation to a BO.&lt;br/&gt;&lt;br/&gt;A BO uses the mapped schema to fill out the required fields.&amp;nbsp; If you open up the Designer file of the BO, and go down to the CreateTableSchema method, it will show all of the columns that the BO knows about.&amp;nbsp; This gets created when you map a BO through the BO Mapper.&amp;nbsp; So before you rebuild the partial class, look and see if you have all of the fields that are appearing.&amp;nbsp; It seems to me like your BO and the SPROC are not lining up.&amp;nbsp; If they are not in the partial class of the BO, then it will not know to fill them out.&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/cf8ca46b-e054-4bd7-b541-74bb.jpg" data-download-url="../Uploads/Images/9a11e996-b782-40ba-ade5-fc57.jpg" id="if_insertedNode_1709754646833"&gt;&lt;br/&gt;(I thought I would add a pretty image too).&lt;br/&gt;</description><pubDate>Wed, 06 Mar 2024 13:51:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>