Unit selling price - rounding
Hi all
My requirement is to round off the unit price in the sales order form, sale
for example
Article AS16101 unit selling price is 12.99, entering into this point, it should be 13 and recorded in the database 13
Article AS16103 Unit selling price is 12.40, entering into this point, it should be 12
WHEN ENTER SAVE, I used the function rounded shaped personlization, but in its economy, the original value database.
Any help on this.
Kind regards
Max
Hello
Hope that the following note solves your problem.
Note to master for the rounding of unit sales price (Doc ID 466505.1)
Rgds,
Sri
Tags: Oracle Applications
Similar Questions
-
Example of API: update line, selling price
Hello
Context: EBS 11.5.10. Level price (No. Advance Pricing)
I would be grateful if someone could send an example of the API used to update customer unit sale price of command line.
Currently, we use oe_order_pub.process_line, the problem seems that no adjustment is generated by the API (as it does to manually update the price of the line).
Thanks for your help
Concerning
AntoineYou can do it through
oe_order_pub.process_order
API. The following parameters are useful when you pass the info to fit for a sales order.
l_adj_rec.list_header_id := 8988; -- Modifier id l_adj_rec.list_line_id := 16596; -- Modifier line id l_adj_rec.automatic_flag := 'N'; l_adj_rec.list_line_type_code := 'DIS'; -- Change this if it is a surcharge, pass 'SUR' l_adj_rec.arithmetic_operator := 'AMT'; -- Percentage or amount l_adj_rec.operand := 10; --How much? l_adj_rec.operation := oe_globals.g_opr_create; l_adj_rec.line_index := 1; l_adj_rec.update_allowed := 'Y'; l_adj_rec.applied_flag := 'Y'; -- Rhis is required to change the price of the line l_adj_rec.change_reason_code := 'MANUAL'; l_adj_rec.change_reason_text := 'Manually applied adjustments';
Also at the level of the line, the following parameter should be checked.
p_line_tbl (1) .calculate_price_flag: = 'P '.Check out the following MOS notes:
How to use the OE_ORDER_PUB. PROCESS_ORDER Api for manual adjustment or application of freight? [959783.1 ID]
Can use an oe_order_pub.process_order API to create a new order line with a different price than the sale price list? [1072272.1 ID]
Pricing of the API to check if a modifier line qualifies for a sales order line id [ID 1220034.1]
Processing order API - how Scripts [ID 1265721.1]
FAQ on the command import [ID 1275116.1]
Process of PLC control in the management of orders [ID 746787.1]
Order API - errors / problems [ID 1266249.1]For details, please see the following threads:
https://KR.forums.Oracle.com/forums/thread.jspa?threadID=684887
https://KR.forums.Oracle.com/forums/thread.jspa?threadID=1122898See you soon,.
ND
Use the buttons "useful" or "correct" to award points to the answers / mark the thread as answered, if your question is answered. -
How to select from multiple cuts manual header and line in SO?
Hello!
I have several manual discounts header and lines in Advanced Pricing. How to select in orders? I read somewhere that to apply a discount, just go to the line and press the "Discount", but I couldn't find this button anywhere. I remember before I am just pressing the lov (...) in the unit selling price and I can choose manual reduction (if I'm not mistaken), but now, when I pressed it, it only apply the first discount manual I have (I have defined it 2 manual sheds). Can someone help me with this? Is the mentioned "Discount" button was the lov (...) in the unit selling price?
Thank you.
Use the button Actions to "The sight adjustments." That should allow you to see and apply modifiers are qualified to order.
-
Help with Select decodes round
Hi, if someone could help me with this. I need to round up all these numbers in the DECODE, but without repeating the CYCLE.
Works in this way:
SELECT the title 'Title', 'class, retail "price."
DECODE (category,
'COMPUTER', (ROUND(retail * 1.1,2)),
'CONDITION', (ROUND(retail * 1.15,2)),
"SELF HELP", (ROUND(retail * 1.25,2)),
(ROUND(retail * 1.03,2))) "" Revised price.
Books
ORDER BY category, title;
But I need something more like this:
SELECT the title 'Title', 'class, retail "price."
DECODE (ROUND ((category,
'COMPUTER', retail * 1.1,.
'FITNESS', detail * 1.15,.
"SELF-HELP", detail * 1.25,.
Retail * 1.03) 'Revised price'), 2)
Books
ORDER BY category, title;
so this TOUR is not repeated more than once... they all need to be rounded up to two decimal places.
any help would be great. Thank youyour second is close. You need complete the decode statement. Like this:
SELECT title "Title", category "Category",retail "Current Price", ROUND(DECODE(category, 'COMPUTER',retail * 1.1, 'FITNESS', retail * 1.15, 'SELF HELP', retail * 1.25, retail * 1.03),2) "Revised Price" FROM books ORDER BY category, title;
Note that the alias (I guess) revised procedures must go outside to decode and the series.
John
-
X 230 options in Britain - lenovo releases more choice for configuration?
Hello
I posted this on another forum, but thought he could make more of an answer on the forum of lenovo, so my apologies if anyone has read this before.
I need a new laptop soon my T60 is at his last breath, but took a great length of time. I am considering buying the x 220 or 230 x, but I live in England and the 230 X is available with 2 options of processor, the i5 3210 or else the i7. The latter, which makes it much more expensive and is probably too expensive for what I need. Lenovo is also not let me pass the screen of the default option, because the upgrade is the branch of 3 x 3 (?) so I can't do the webcam.
I really had to initially spec upward the 220 and go for it, but I've heard screen warping problems (my other half has a t400s and has been plagued by the cracking chassis in the remains of palm) so I want to avoid this. I know that all the other X 220 issues such that the limitation have been fixed, one of the benefits of having a proven machine.
I guess my question is really that we should I buy... I'm not a gamer, I will use it for running SPSS, a statistics package. watching movies and streaming, etc.
I have better receive the selling price on the 220 now or should I wait to see if the x 230 more configurations for the United Kingdom in the coming months? (lenovo usually increases the configuration options)? I don't want to lose a good deal on the 220.
What should I do? I am very confused!
Thanks a lot for your helpAlison
alisonkay wrote:
Thanks for that Richard, really good to know that the same parts...
How do you find your 220? X 230 spec make you wish that you had?Technical evolution is not big enough to make me wish that I had a X 230. I think the only change that could really make a difference for a typical user's HD4000 graphics, but only for games. If I had to choose between the two at this point, it would be the X 220 for the price. In your situation, the possibility of obtaining an update screen (combined with webcam) sealed the decision. X 220 has a classic keyboard as your T60 and there will be familiar to you.
Compared with a T60, I think you'll enjoy the performance, weight and portability of a X 220, but the smallest palm rest area is less uncomfortable and the resolution 1366 x 768 screen can be a challenge sometimes.
-
I installed my new GS116. Low 8 ports all have their del. regardless of the connected cables. High 8 ports have all of the lights. Yet once, wiring makes no difference.
Other than return ideas?
They issued an RMA number. I asked them to waive the delivery because it was a DOA. I don't know that works.
A set of shipping dry much of the difference in selling price I found.
-
Laptop HP 2000: upgraded my computer laptop processor
I'm interested in upgrading my laptop cpu and im wondering the maximum GHz, I did research all night and I found nothing so far. For now its got a 1.3 GHz cpu and I would get at LEAST a 2 GHz if possible.
Well, you have the E-300 AMD processor. It is a portable Wal-Mart and was designed to be sold at a very attractive price.
You need to update or at least replace the motherboard to make any type of upgrade. Even the best option of AMD (with processor soldered to the motherboard) is not very powerful. You can put in a motherboard that would accept an Intel i5 processor, but that would be to buy a motherboard, processor and cooling fan, which are likely to cost more than the original selling price of the laptop. However, if you want to try to do that, we can help you.
Here is the Manual:
It would be the motherboard:
For use only with models with an Intel Core i5 or i3 processor
Models with Windows 8, standard 685107-501
Best processor:
i5 - 3230 M 2.60 GHz processor 711903-001
Fan and radiator:
For use only with the computer models equipped with an Intel processor 685086-001
All versions of the motherboard max out with 8 GB of RAM.
If it's 'the Answer' please click on 'Accept as Solution' to help others find it.
-
How much is a processor intel i5 worth?
I started disposing of my old laptop, and I think selling the parts sepratly. How much cost an i5 processor? I'm confused because the prices range from $ 45 to 215.
Recommended prices are available from Intel
http://Ark.Intel.com/products/family/75024/4th-generation-Intel-Core-i5-processors#@mobile
If your processor is not the current generation, enter to the model in the search box to find its original selling price. The older it is less it will be interesting.
-
fieldChange get variables from the main class
I'm doing a simple calculator that users enter numbers, press on calculate, and the answer is displayed in the status bar. The problem I have is that when I try to get the EditFields values in the fieldListener, I get an error that says that the variable was not found. Here is an example of the code that I have:
public class MyScreen extends MainScreen { public MyScreen() { super(); LabelField title = new LabelField("Automotive Loan Calculator", LabelField.ELLIPSIS | LabelField.FIELD_HCENTER); . . . EditField sell = new EditField("Selling Price: $", "", 10, EditField.FILTER_REAL_NUMERIC | EditField.FIELD_RIGHT); EditField taxrate = new EditField("Tax Rate: ", "", 5, EditField.FIELD_RIGHT | EditField.FILTER_REAL_NUMERIC); . . . ButtonField button = new ButtonField("Calculate Payment", ButtonField.FIELD_HCENTER); CalcButtonListener calculate = new CalcButtonListener(); button.setChangeListener(calculate); . . . final class CalcButtonListener implements FieldChangeListener { public void fieldChanged(Field field, int context) { String sellData = sell.getText(); float sellVal = 0; if (sellData != null && sellData.length() > 0) { sellVal = Float.parseFloat(sellData); } String taxrateData = taxrate.getText(); float taxrateVal = 0; if (taxrateData != null && taxrateData.length() > 0) { taxrateVal = Float.parseFloat(taxrateData)/100; } total = sellVal * taxrateVal + sellVal LabelField newpmt = new LabelField("Total: " + total, LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH) { public void paint(Graphics g) { int x= g.getColor(); g.setColor(Color.GRAY); g.drawRect(0,0,this.getWidth(), this.getHeight()); g.fillRect(0,0,this.getWidth(),this.getHeight()); g.setColor(Color.WHITE); super.paint(g); } }; setStatus(newpmt); } }
Nevermind, I figured it. I forgot to set them in my code.
-
Display a value in the column only if the number is greater than 1
I need to return a value in the only if column the the count is greater than 1 for the same column.
Example table:
FOOD_TYPE Agenda COST_TO_BUY SELL_PRICE Ice cream Chocolate 0.50 2.00 Ice cream Vanilla 0.50 2.00 Ice cream Strawberry 0.50 2.00 Chicken Wings 2.00 5.00 Bovine meat Steaks 8.00 15 h 00 Bovine meat Roast 10 h 00 6:00 pm In this example, I want to choose the POINT of FOOD_TYPE, SUM (COST_TO_BUY) AND SUM (SELL_PRICE), but I want only to select the ITEM if there is more than 1 points in the FOOD_TYPE.
I tried all kinds of grouping and even including a case statement in select it as follows:
CASE
WHEN (COUNT (DISTINCT POINT) > 1)
THEN THE POINT
ELSE "
END
However, this is denied when I group because it forces me to use the POINT as a group and I can't use the set statement in the GROUP BY because it has an aggregate function.
Help, please!
with
power as
(select food_type 'Beef', 'Steaks' article, cost_to_buy 8.00 15.00 sell_price of all the double union)
Select 'Beef', 'Roast', 10.00, 18.00 double Union all
Select 'Chicken', 'Wings', 2.00, 5.00 double Union all
Select 'Ice Cream', 'Chocolate', 0.50, 2.00 double Union all
Select "Ice Cream", "Vanilla", 0.50, 2.00 double Union all
Select "Ice Cream", "Strawberry", 0.50, 2.00 double
)
Select food_type 'Type of food. "
cases where the head (separate) over (partition food_type) > 1 then end point "Item,"
TO_CHAR (cost_to_buy, 'fm990.00') "Purchase cost"
TO_CHAR (sell_price, 'fm990.00') 'selling price '.
food
food_type desc order
Food Type Item Purchase cost Sell Price Ice cream Chocolate 0.50 2.00 Ice cream Strawberry 0.50 2.00 Ice cream Vanilla 0.50 2.00 Chicken - 2.00 5.00 Bovine meat Roast 10 h 00 6:00 pm Bovine meat Steaks 8.00 15 h 00 Concerning
Etbin
-
Help request of customer orders
Hello!
I'm stuck and I'm a little confused about what to do.
I did a query that displays sales order data, the query is:
"
Select
OHA.order_number "Order number"
OHA.ordered_date "Order date"
OHA.cust_po_number "Number"
Ott.Name "Order Type"
OLA.line_number "Line number"
MSI. Segment1 "Item Code",
MSI. 'The item name, description
-wdd.lot_number "LOT number"
OLA.ordered_quantity "quantity."
OLA.order_quantity_uom "UOM ordered."
OHA.transactional_curr_code "currency."
OLA.unit_selling_price 'unit sales price. "
(ola.ordered_quantity * ola.unit_selling_price) "Sale price of line."
OLA.shipping_quantity 'quantity shipped. "
OLA.shipping_quantity_uom "UOM Quantity Shipped."
(nvl(ola.shipping_quantity,0) * ola.unit_selling_price) "Delivered price",.
cases where oha.transactional_curr_code = 'HUF' THEN (nvl(ola.shipping_quantity,0) * ola.unit_selling_price) other (nvl (ola.shipping_quantity, 0) * ola.unit_selling_price * ATCM.) End EXCHANGE_RATE) "prize shipped in HUF.
OLA. ACTUAL_SHIPMENT_DATE "Delivery Date"
extract (YEAR OF OLA. ACTUAL_SHIPMENT_DATE) "Shipped year."
extract (MONTH OF OLA. ACTUAL_SHIPMENT_DATE) "Shipped months."
extract (DAY OF OLA. ACTUAL_SHIPMENT_DATE) "Shipped day."
OL. Meaning "order status."
HCA.account_number 'Cardcode. "
bill_p.party_name 'Cardname. "
DECODE (bill_loc.city,
NULL, NULL,
bill_loc. City | ', '
)
|| DECODE (bill_loc.state,
NULL, bill_loc.province | ', ',
bill_loc. State | ', '
)
|| DECODE (bill_loc.postal_code,
NULL, NULL,
bill_loc.Postal_Code | ', '
)
|| DECODE (bill_loc.country, NULL, NULL, bill_loc.country) "Delivery address"
bill_loc. Address1 'Expedition street. "
ship_loc. "Shipping city," city
ship_loc. Indicative "Expedition", country
FT.territory_short_name "country of dispatch",.
(select name
of ra_salesreps_all
where salesrep_id = oha.salesrep_id
and org_id = oha.org_id) 'name of the sales person.
of oe_order_headers_all oha.
ola oe_order_lines_all,
oe_transaction_types_tl ott,
MSI mtl_system_items_b,
hz_cust_site_uses_all bill_su,
hz_party_sites bill_ps,
hz_locations bill_loc,
hz_cust_acct_sites_all bill_cas,
hz_cust_accounts bill_ca,
hz_parties bill_p,
hz_cust_site_uses_all ship_su,
hz_party_sites ship_ps,
hz_locations ship_loc,
hz_cust_acct_sites_all ship_cas,
-wsh_deliverables_v WD
fnd_territories_tl ft,
oe_lookups ol,
hz_cust_accounts_all AOB,
ra_customer_trx_all ATCM,
ra_customer_trx_lines_all rctla
-wsh_delivery_details JMD
where oha.header_id = ola.header_id
and bill_p.party_id = hca.party_id
- and wdd.source_header_id = ola.header_id
- and wdd.source_line_id = ola.line_id
and oha. ORDER_TYPE_ID = ott.transaction_type_id
and ott.language = userenv ('LANG')
and ola.inventory_item_id = msi.inventory_item_id
and ola.ship_from_org_id = msi.organization_id
and oha.invoice_to_org_id = bill_su.site_use_id (+)
and bill_su.cust_acct_site_id = bill_cas.cust_acct_site_id (+)
and bill_cas.party_site_id = bill_ps.party_site_id (+)
and bill_loc.location_id (+) = bill_ps.location_id
and bill_cas.cust_account_id = bill_ca.cust_account_id
and bill_ca.party_id = bill_p.party_id
and oha.ship_to_org_id = ship_su.site_use_id (+)
and ship_su.cust_acct_site_id = ship_cas.cust_acct_site_id (+)
and ship_cas.party_site_id = ship_ps.party_site_id (+)
and ship_loc.location_id (+) = ship_ps.location_id
and ship_loc.country = ft.territory_code
and ft.language = userenv ('LANG')
and ol.lookup_type = 'FLOW_STATUS. '
and ol.lookup_code = oha.flow_status_code
and ola.shipping_quantity IS NOT NULL
AND rcta.customer_trx_id = rctla.customer_trx_id
AND rctla.interface_line_attribute6 = TO_CHAR (ola.line_id)
AND rctla.interface_line_attribute1 = TO_CHAR (oha.order_number)
- and oha.order_number = 1000914
"
The query works perfectly except one case.
If I have sous-lignées, non-conventional lines (see attachments) in this case the query display only the first value of sub-line.
Also if I connect wsh_deliverables_v tables for LOT numbers, the lines will be multiple and I don't know why
Thanks for your help in advance,
Zsolt
I found the solution. If someone else stuck, here is the solution:
In where condition change this line:
AND rctla.interface_line_attribute6 = TO_CHAR (ola.line_id) to do this:
AND (rctla.interface_line_attribute6 = TO_CHAR (ola.line_id) or rctla.interface_line_attribute6 = TO_CHAR (ola.split_from_line_id)) -
I now have lightroom 5 and I want to change in lightroom without cloud 6. Is this possible and how do I pay?
There is always a perpetual license available. The United States price for the upgrade is $ 79. This can vary depending on where you live. The current version is 6.3 LR
-
Home daily on average for a period of seven days?
Hi all.
Right underneath a week ago I had really touched other than work with Windows Server Core Powershell/PowerCLI. After a request for measures of host VI of my boss and thanks to the help of the forum and its members, I am now my head around things and I have two scripts that run as scheduled tasks that gather on the fly / a week average information for our ESX / ESXi hosts.
I hit a bit of a good brick wall; He also wants me to collect data rolling base for guests on a daily basis, and I tried to set up a script that I can run once a week, which collects averages daily, per day, for seven days. At the base of the levels, let's say I have two hosts and I want to raise the average CPU per day for seven days, which looks something like:
AVERAGE CPU HOST DAYS
host1 day1 average value
host1 day2 average value
host1 day3 average value
host1 day4 average value
host1 day5 average value
host1 day6 average value
host1 day7 average value
host2 day1 average value
etc.
I simply can't get head around this (and after a week, it is not for lack of trying or trawl the forums) and I'd appreciate any help. I also need memory and network average but if anyone can help with the above, I expected to be able to add the code to include these issues.
TIA,
Carl
The Group-Object cmdlet that will do for you.
Use the 'day' of the timestamp for group statistical data per day / per host.
This is an example
$esxImpl = Get-VMHost $todayMidnight = (Get-Date -Hour 0 -Minute 0 -Second 0).AddMinutes(-1) $stats = Get-Stat -Entity $esxImpl -Stat cpu.usage.average -Start $todayMidnight.AddDays(-2) -Finish $todayMidnight $groups = $stats | where {$_.Instance -eq ""} | Group-Object -Property {$_.Timestamp.Day, $_.Entity.Name} $report = $groups | % { New-Object PSObject -Property @{ Description = $_.Group[0].Description Entity = $_.Group[0].Entity MetricId = $_.Group[0].MetricId Timestamp = $_.Group[0].Timestamp.ToShortDateString() Unit = $_.Group[0].Unit Value = [math]::Round(($_.Group | Measure-Object -Property Value -Average).Average, 2) } } $report | Export-Csv "C:\Daily-cpu.csv" -NoTypeInformation -UseCulture
-
Passing parameter from one page to the other
Hi all
On the page asking for there is a ResultsTableRN that contains the number of columns as:Select: box IE, requisition: which shows the requisition number, Description: which shows a description of the application number and so on...
This table contain also on top, as well as on the pannel 4 button background that's copy to the basket, Cancle requisition, change and Complete
below are the items on this page are:
/ Oracle/Apps/ICX/por/reqmgmt/WebUI/ReqSummaryPG
CO: ResultsTableCO and ReqSummaryCO oracle.apps.icx.por.reqmgmt.webui
VO: oracle.apps.icx.por.reqmgmt.server.MyReqsVO MyReqsVO
Here is my task when the user select any request table and click on a button, so I want to capture or save the requisition_header_id of demand
Co... for that I extend ResultsTableCO and I write code in pfr() to capture this.
Here, my question is how can I capture the requisition in PFR() of CO requisition_header_id?
After selection, save or capture this requisition selected requisition_header_id then I will used it in:
page/Oracle/Apps/ICX/por/req/WebUI/ShoppingCartPG it comes to the page where the navigation happens after clicking on any button.
This page contains a
Co: ShoppingCartCO
VO: PoRequisitionLinesVO and view attribute: ItemDescription
oracle.apps.icx.por.req.webui.ShoppingCartCO
oracle.apps.icx.por.req.server.PoRequisitionLinesVO...
Here, my job is I'm going to extend ShoppingCartCO CO and in its Graf I need to use this demand requisition_header_id seizures.
How can I use the requisition_header_id of the application on this page?
This ShoppingCartPG page also conatins as region table with columns:
Line, the item Description, special info, unit, quantity, price, Amount (USD)
Now, my work here, it is that I need to replace the text description of the item or the values of ShoppingCartPG the new requisition_header_id with that page captured requisition_header_id of the application.
How can I achieve this?
Please help me...
Thank you
HI Sumit,
Thanks for the reply...
You mean I should call this warning page I CO?
If call this WARNING page in co, then how can I maintain that captured value for nxt page after page of warning?
-
pls I need your help in my SQL query statement
Hi brothers
pls guys I need someone help me on this issue
3.1.1.
List of all columns in all the lines in the table STOCKITEM Crescent primary key sequence.
Only list the lines where the selling price is higher than the price of purchase multiplied by 3 or the
selling price is lower than the price of purchase multiplied by 2?
I made this stastment but the ruselt doesn't come with multiplied by 2 or 3.
SELECT *.
IN stockitem
where sellprice > purchprice * 3
or sellprice > purchprice * 2
stkid asc agenda;Something like that?
SQL> SELECT stkid, 2 sellprice*3 sellprice, 3 purchprice*2 purchprice 4 FROM stockitem 5 where sellprice > purchprice *3 6 or sellprice < purchprice *2 7 order by stkid asc 8 / STKID SELLPRICE PURCHPRICE ---------- ---------- ---------- 78 33 5.5 82 16.8 3.36 85 120 44 88 97.5 37 SQL>
Concerning
Girish Sharma
Maybe you are looking for
-
iTunes, lose some pounds in iBooks
iTunes fails to list books that appear in iBooks and are on my iPad. It's frustrating because iTunes cannot be used to add and delete books from my iPad. Any suggestions?
-
My screen is enlarged, and I can't get it down to normal size.
My computer screen is enlarged, and I can't get it back to normal size.
-
Error 8004FF83 installing Microsoft Security Essentials Update
original title: I get this error code when you try to update 8004FF83. It fails. What to do next? When I try to install an update, I get this error code: 8004FF83. There not 3 times now trying to install it. Currently my saysSecurity Essentials is
-
Auto-rotation of the screen does not workEven when I run diagnostic test it failsThe test of three defective sensors includes-Fingerprint sensor (although it works very well when using)-Accelerometer-GyroscopeWhen I restart the phone it starts to wor
-
is it possible, end point of video recorded in CUCM call standalon SX10 via SIP Trunk?
Dear all, Need help :) 1. is it possible, end point of video recorded in CUCM call standalon SX10 via SIP Trunk? my customers will not buy TP - lic :) Topology: 8900 (jabber) - CUCM-(SIP) - SX10 2. Customer, have MCU machine. If not possible. is it p