Does anyone know how to increase the decimal digits displayed on a grid field?
When you click the ADD STOCK ITEM button on the Sales Orders (SO301000) screen, then click the Sold Since radio button, there is a field called Last Unit Price in the grid.
I would like to increase the decimal digits displayed from 2 to 3 decimals.
I tried customizing the data field using Ctrl+Alt, clicking on the field, and choosing ACTIONS -> Customize Data Fields... which yields this:
[PXCalcCurrency(typeof(SOSiteStatusSelected.curyInfoID), typeof(SOSiteStatusSelected.baseUnitPrice))]
[PXUIField(DisplayName = "Last Unit Price", Visibility = PXUIVisibility.SelectorVisible)]
[PXDefault(TypeCode.Decimal, "0.0")]
But I'm not sure if this is the place to do it.
Here is a screenshot of the field I want to change
You can go Organization > Organization Structure > Branches and set Decimal Precision from 2 => 3
Related
Hi I am using Gravity Form, and I am trying to build a form where depending on the service you choose, the quantity of hours will update automatically. For example:
Multiple choice field: 1. Wash a car 2. wash a truck 3. wash a motorbike
Quantity field should pre-populate with either; 1 (if motorbike is selected, or 2 (if car is selected or 3 (if truck is selected)
Any help is much appreciated
A generous developer I know helped me out. Add this code after the form. here is the answer:
<script type="text/javascript">
var helpSelect = document.querySelector('#input_2_22')
var quantityInput = document.querySelector('#input_2_28')
helpSelect.addEventListener('change', function (e) {
quantityInput.value = e.target.value
})
</script>
Remember to change the input id to the id of the input in your form.
I am trying to make a calculator in Excel, which should show the price of the products when the user clicks the item's checkbox.
Example + QUESTION:
If the user selects only item no 1, the price is 45$.
If the user selects only item no 2, the price is 28$.
If the user selects both item no 1 and item no 2, how do I make the price 45$?
In the formula bar I have this:
=IF(A3,45,0) + IF(G3,28,0) + IF(AND(A3,G3),45,0)
item no 1 item no 2 both items selected
But the problem is that the total price is 45 + 28 + 45.
How can I handle this? Thank you!
EDIT:
Ok, I didn't think it further, here's another situation:
My price calculator looks like this:
-voice100 -broadband surf -TV varied
-voice200 -broadband play -TV extra
-voice400 -broadband power -TV max
A user can select either one product, or a 2-pack (broadband + TV) or a 3-pack (voice+BB+TV).
Is there any source that could teach me how to do this in excel? (I'll use SpreadSheet Converter to make it HTML/PHP) I want to implement it on a website so that a user can choose his own combination of services and then call me when he's happy with what he chose.
Thank you!
This one works:
=IF(AND(A3,G3),45,IF(A3,45,IF(G3,28,0)))
I have a matrix which contains a rowgroup and groups my products based on the Category. I have three categories: Laptops, Tablets, Televisions. My first two categories contain columns i.e. RAM which I don't want to display for the Televisions. Each category is separated by a page break.
I'm trying to hide the column 'RAM' if the Category name is 'Televisions' but only for the specific page
My structure:
[Categories]
[ProductID] [Processor] [RAM] [Colour] [etc]
Desired result:
[Laptop]
[125] [Intel Pentium] [250 MB RAM] [Black] [etc]
Desired result:
[Television]
[126] [Ix TV processor] [White] [etc]
Current result:
[Television]
[126] [Intel Pentium] [need to hide this] [White] [etc]
It is possible to do. The reason you're having trouble with it is because the matrix column falls outside of the category row-grouping scope. To hide the entire column, you have to move the category group above it. The easiest way to do that is to nest your matrix inside of a list control. Put your Category grouping/page breaks at the List level, and then set your RAM column of the matrix (which is now entirely inside of the category grouping scope since it is inside the list control) visibility based on the value of the Category as follows:
=Iif(Fields!Category.Value = "Televisions",True,False)
I'm creating a report that outputs a letter. The first page contains is a large left margin containing static company information. The letter output can be multiple pages, however I only want the text on the first page indented to the right away from the left margin. How can I accomplish this with one text field (the letter body is all one data field)?
Example: http://i.stack.imgur.com/E6SGr.jpg
Right-click on your text field and select 'Size & Position'. Here you can set the X and Y positions of the field, and the X value can be set conditionally. All you have to do is something like:
if pagenumber=1 then 0 else 1440
Watch out, though, the units used in the formula are twips, not the units listed as your default in the Size & Position window. FYI, 1440 twips to an inch or 20 twips to a point.
First and foremost. I'm totally new to "programming" in Excel.
I'm trying to make a price calculator, that calculates the price when I use my printer.
The sheet contains list, so I don't need to type in numbers but can choose between some options.
I would like options within the list to have a value.
My sheet contains theese information.
Description, Amount, Single/duplex, Format, Printing price, Paper price, Total price.
Description: Could be "Printing an invitation for my brother"
Amount: Amount printet
Single/Duplex: A list containing "Single" and "Duplex"
Format: A list containing "A4", "SRA3" and "SRA3 HiGloss"
Printing price: The total price
This is how it's calculated:
'Format' + ('Amount' x 'Single/duplex') = 'Printing price'
I would like to assign theese values to the list options:
Single/Duplex
Per page (singlex): 0,6
Per page (duplex): 1,2
Format:
A4. paper: 0,2
SRA3 High Gloss: 1,25
SRA3: 1
Example
Description Amount Single/Duplex Format Printing price
Invitations 30 Duplex SRA3 HiGloss 61,25
The calculation for this example looks like this:'Format' + ('Amount' x 'Single/duplex') = 'Printing price'1,25+(30*2)
Does anyone know about this???
I would make a price lookup sheet and have the prices laid out in table form i.e.
A B
Single 0.6
Duplex 1.3
A4 0.2
And so on…
You can then use the vlookup function to turn the options given into their value counterpart
=VLOOKUP(B3,Price_lookup!A1:B20,2,FALSE)
You can then use this as the basis for building your formula
EDIT:
Ok here is a very rough example in excel but it works. You can unhide the columns to show how it works
http://www.easy-share.com/1910066813/Stack_example.xls