Updating a Grid to Show Extended Price When Change in Quantity in SalesLogix

Question: In SalesLogix I’m attempting to update a grid to show the extended
price when the quantity is changed by the user. I am using the
following in the OnEdited event of the
grid:

If FieldName = “A1.QUANTITY” Then
intPrice = Value * CInt(objRS.Fields(“Price”))
dgQuoteLine.SetFieldValue PrimaryKeyValue,”A1.PRICE”,intPrice,null
End If

This results in a catastrophic failure, any idea why?

 
Answer: Check to make sure that you have the PrimaryKeyValue field in the layout.
 
 

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) news and product updates!

You have Successfully Subscribed!