9/20/2026 4:13:07 AM
|
| |
| slxdeveloper.com Community Forums |
|
| |
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
Adding an additional field to Add Edit Product
Posted: 24 Jun 08 1:32 PM
|
I've added a new text field and modified the insert/update scripts in the form code (Add Edit Product). I can enter data and it'll store in the database but I cannot see where in the code the data is pushed into the fields to display. I'm probably missing something simple but I'm currently stumped. How are the fields filled in? |
|
|
|
Re: Adding an additional field to Add Edit Product
Posted: 25 Jun 08 3:05 AM
|
Yes, change these areas:
========================================== "Simply" adding a new field to OppProduct: ==========================================
Form: Opportunity:Products -------------------------- Sub PopulateDataGrid : modify to include col in sql, and the grdProducts Sub CommitChanges : Modify to include col in sql, and the update rs
Form: System:Insert Opportunity ------------------------------ Sub SaveOpportunityProductInfo( )
Script: System:Insert Opportunity Common ---------------------------------------- Sub DefineProductsGrid(oppID) : modify to include new section detailing new column Function CreateProductsRSStructure : modify to include new column Function DoGridCalculations(Sender, FieldName, Value, OppID) : Modify to include within loop/case the new field If strCrntRecord = .Fields("KEYFIELDID").Value Then .Fields("yourfieldhere").Value = Value End If Sub SaveOpportunityProductInfo( ) Sub RemoveProducts( )
Form: System:Add Opportunity Product ------------------------------------ Sub AddProductToGrid(objRS, intQty) : Modify to include any defaults Sub UpdateCurrentProduct( ) Sub AddDeleteProductToDB( ) |
|
|
| |
| |
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|