Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Displaying to 5 decimal places on Opp Products Grid (6.2.4)
Dustin Lehman
Posts: 2
 
Displaying to 5 decimal places on Opp Products Grid (6.2.4)Your last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Displaying to 5 decimal places on Opp Products Grid (6.2.4)Your last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 8:44:26 PM