11/26/2024 8:21:51 PM
|
|
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.
|
|
|
|
Displaying to 5 decimal places on Opp Products Grid (6.2.4)
Posted: 06 Nov 06 9:37 AM
|
fiogf49gjkf0d Looking for some guidence on the Opp Products Screen. We need to display the values to the 5 decimal place. We have the code setup properly, displaying 5 places after the decimal and allowing us to type five places but we cannot get it to go all the way to the 5 decimal place. For some reason it rounds on the third decimal place. We have even removed all of the rounding script in both the Insert Opp Common, Multi Currency, and Products screen.
We get it to function properly on the add new product grid form the manage products menu, the only area that is not common to both of those is the Inser Opp Common script. Does anyone know if there is a bug or have an idea around it?
Thanks,
Dustin |
|
|
|
Re: Displaying to 5 decimal places on Opp Products Grid (6.2.4)
Posted: 07 Nov 06 3:11 AM
|
fiogf49gjkf0d Form: Add Edit Product (if you want to change the Tools | Manage Products | Add Pricing) ----------------------------------------------------------------------------------------
Sub DefinePriceGrid ( )
'Price column Set col = .Columns.Add(13) col.FieldName = "PRICE" 'DNL col.Width = 70 If GetMCValue(MC_On) = "T" Then col.DisplayFormat = ",0.0000;-,0.0000" 'DNL col.Caption = Application.Translator.Localize("Price") & " (" & GetMCValue(MC_BaseCurrencyCode) & ")" Else ' col.DisplayFormat = "$,0.00;$-,0.00" 'DNL col.Caption = Application.Translator.Localize("Price") col.DecimalPlaces = 4 '<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< col.DisplayFormat = ",0.0000;-,0.0000" 'DNL '<<<<<<<<<<<<<<<<<<<<<<
End If
|
|
|
|
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!
|
|
|
|
|
|
|
|