Warranty related query for sales item
hi I need a report for checking an sales item is under warranty or not & also I want to know the status of the products which comes under warranty is in open state or closed state Regards, K.Ramasamy
Hi,
Try this query:
SELECT T0.[ItemCode], T0.[ItemName], T1.[TmpltName], T1.[Deleted] FROM OITM T0 inner join OCTT T1 on T0.[WarrntTmpl] = T1.[TmpltName] WHERE T0.[SellItem] = 'y'
Thanks.
Similar Messages
-
Is ATP check possible in Service Order for Sales Item?
Hi All,
My question, is ATP check possible in Service Order for Sales Item? My requirement is that when i create a service order in the web UI with a sales item and drill down to the item level, i see the schedule lines assignment block but w/o any Confirming date, so i want to know whether the ATP check is happening or not. For example wen i create a sales order in web UI with a sales item and drill down into the item level, the schedule line AB shows me the Confirming date checking the ATP. But this is not happening in case of service order. So kindly suggest the reason and clarify my query. Thanks
Regards
SrideviNobody can help me???
Please.
Thanks -
Query for Sales Order Analysis
Dear Experts
I have written a Query for Sales Order Analysis and would like to have help on this.
The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales Order. The query is written as below:
SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum] ORDER BY T0.[DocNum]
where U_Total_GP is a UDF for storing the GP of each order.
After executing the query, a selection criteria of date appears and after a date is selected, the report shown information required. However, the query does not calculate column total for total amount and total GP. Although I know the total for each column can be displayed by pressing "Ctrl" + Click on the column title, it would have to be done from time to time.
Therefore, I would like to modify my query in order to calculate the column totals when executed. Are there any suggestions for this?
Thank you
Regards
EltonHi Elton,
Try this:
SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
Union ALL
SELECT '', SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0]
ORDER BY T0.[DocNum]
Thanks,
Gordon -
Display vs. For Sale items... Need help thinking this out
Hi,
Okay, here's the problem. I have created a separate catalog called Museum for joden.businesscatalyst.com
In that catalog is a sub catalog for Edwardian Jewelry.
These products are not for sale, but I want to display them.
We also have a store with items in another catalog that are for sale.
It does not appear that I can create a separate template for Online Store Modules that can be used for the Museum catalog, for when I add this catalog to a menu, it creates a product display but also has Add to shopping cart buttons and the large images also have the add to button. Since there is no inventory or price, it won't be added, but I am wondering if there is a way to keep this inventory separate from our overall store, display it on a different Module when clicked, etc. Basically what I need is a display area for not for sale items and a regular catalog for sale items.
http://joden.businesscatalyst.com/museum/edwardian-jewelry
My client says that any catalog, even though it is a separate catalog called museum, will interfere with our inventory for the store.
Not sure what to do about this. I could create static pages for sample items, but will lose our current museum of previously owned items and NFS items.
I could create a gallery of special items for each jewelry period (BTW, the fact that the photo gallery uses a complete folder rather than selected items in a folder is a real problem).
None of these solutions seems to facilitate what I need to do.
I have another client I am thinking of moving to Business Cat with the same issue. He wants to display samples of his previous jewelry creations that are not for sale, but also needs a current inventory.
I'm starting to think BC is not going to be able to serve these larger clients.
JeffIf you're wanting to remove the add to cart button from the template for products in a particular catalogues you're going to have to put something into place, BC won't do it for you in this case unfortunately.
You can use the backup list view or a custom template to remove the add to cart from them.
As for the detail view you just need to remove the '.moreoption' div - or if you don't want to show the price either then the 'prod_options' div.
You could utilise a custom field (from inside the product options) and fill it with something like 'noSale'. Then in the CSS have '.noSale .moreoption { display: none }'
Add the custom tag field into your large product template somewhere at the top inside a class.
If you fill it in, it'll hide, if you don't, it won't.
There are other options, but this seems pretty easy. This also allows items in any catalogue to be not for sale, not anything specifically - so you could have multiple that are not for sale, multiple that are.
Justin / BCTemple.com -
Function Module for Sales items condition types
Hi,
I would like to get Sales item amount details based on condition types tax or discount.
Is there any function module to output amount for sales item and condition type.
Thanks in advance for your help.
Thanks,
Ramanahi
i have vbeln and posnr
my requirement is to calculate repricing for sales order.
i am having problem with function pricing means what parameters to be passed in komp and komk structure.
can you plz send me sample code if possible?
thankx in advance. -
System allowing order related Billing for rejected item in sales order
Hi all,
I have created a new reason for rejection: "Billed before Go live"
I have then asigned it to sales item 10 in sales order thus rejecting it.
I expected that when I do the billing for this sales order, the system will not allow to bill the rejected item, but the rejected item is still getting billed by VF01
Can anybody please tell me why this is happening.
Regards,
Avinash GyaleHi,
mere reason for rejection is not enough for blocking from billing, at item level you need to put billing block also apart from reason for rejection, then only you can reject the item and block from billing.
thanks ,
gln -
Hi,
We are trying to create a query for the open items (purchase orders ) in order to add some fields useful for users.
Would you be able to advise with the query needed to show us only the open items?
Best regards,
MBHi,
Try this one:
Select distinct t1.cardcode as Vendor, t1.CardName as Name, t1.docnum as PO#, t0.itemcode, t0.Dscription, t0.OpenQty as 'Open Qty', t0.linenum Row#, t1.DocCur as Currency, t0.price as 'Purchase Price', t0.whscode, t1.taxdate as "PO Date"
from dbo.por1 t0
inner join dbo.opor t1 on t1.docentry = t0.docentry
where t1.DocType = 'I' and t0.linestatus = 'O'
order by t1.docnum Desc, t0.linenum
Thanks,
Gordon -
Req:validtion query for sales quotation
Hi,
I would like to put validation for sales quotation when Freight1 Tax Code at line level is not empty
My query is:
if @object_type ='23' and @transaction_type in ('A','U')
begin
if exists(SELECT * FROM [dbo].[OQUT] T0 INNER JOIN QUT2 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN QUT1 T2 ON T0.DocEntry = T2.DocEntry
WHERE T1.TaxCode is not null and T0 .DocEntry = @list_of_cols_val_tab_del and
T2 .DocEntry =@list_of_cols_val_tab_del )
select @error=N'001'
select @error_message =N'Freight1 Tax code should be empty.'
end
but didnot get the result.Plz give the solution.Hi Md Zak,
Try dis..
IF (@object_type = '23' and (@transaction_type IN ('A','U')))
BEGIN
If Exists (SELECT T0.DocEntry FROM OQUT T0 INNER JOIN QUT2 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN QUT1 T2 ON T0.DocEntry = T2.DocEntry
WHERE T1.TaxCode is not null and T0 .DocEntry = @list_of_cols_val_tab_del)
Begin
set @error = N'001'
set @error_message = N'Freight1 Tax code should be empty.'
End
END
Hope Helpfull
Regards::::
Atul Chakraborty -
Approval Query for Sale Delivery Problem
Hello,
I have to set approval procedure of Sale Delivery in following condition
If i add sale order for Specific item for 10 Qty for example C01 customer & after that i add sale order for same item qty 10 for another customer ie C02 & i have stock for that item 50 but user give delivery first to C02 in staid of C01 but C01 give me first order
on this condition i have to set approval user can't deliver second sale order first he have to take approval from manager to do this & he deliver first order first then then don't have to need approval.
Can any one help me?Hi,
Row level approval is not possible in SBO.
You may check this for your reference: http://www.beonesolutions.com/ip/Solutions/ap.html
Thanks,
Joseph -
Copy Control Issue- Service Order to Service Confirmation for Sales Items
Hello All,
I have a scenario where in my service order, I am entering both items Sales Relevant Items and Service Relevant Items(screen shot of the service order attached)
The Service Order gets saved, now when I am creating the service confirmation as a follow up document to the Service Order, I am getting the below error for the sales relevant item
Since I have not maintained copy control settings for my sales relevant item in my service confirmation I am getting the above error when copying, the reason for me not maintaining the copy control settings is that the sales relevant item is not required for the service confirmation, what steps do I need to perform so that my sales relevant item does not get carried to the service confirmation transaction type
Please Advice.
Kind Regards
AtulHi Gobi,
I do not want the sales item to be copied to my service confirmation, then could you please advice what functional configurations I need to make
I have removed the copy item category settings, I have also removed the Define Item category determination when copying
Kind Regards
Atul -
Automatic content related with for Web Items (here: Charts)
Hi Experts,
is there any way to automate the width property of web items, e.g. charts, related to the content?
In this case, I have a column chart with three columns. If the column count in- /decreases (e.g. when dynamically changing query dimension options), the chart width should change automatically as well.
Any ideas? At the moment I have to set a fixed with in pixels.
Many thanks!
Best regards
TobiasHi,
Yes u can do this.
It's not possible directly with simple direct FCC.
Try this..
Access all the records, header, I and C records as a single record... no difference between them.
In mapping all the records are under a single name so based on the logic for connection between the header and I and C,
u can create or split them into the structure u are expecting in the mapping...
U can go for 2 MM in a single interface mapping...
Let us know still u face any problem..
Babu -
How to Create Specific SAP Query for Sales BOM
Dear All Salute !!
How I can create a SAP Query which provide information from the Sales Order-Line Item, this specific material is having any BOM or not?
Suppose, user want Input,
Sales Order No., Product Category, Duration of Sales Order Release.
want Output,
Sales Order No., Customer No., Customer Description, Sales Order Line Item, Material No., Material Description, Delivery Date, Quantity, Sales Order release Date
Users requirement is, List of All Line Items for which BOM is yet to be Uploaded in the System.
Please provide complete detail with Table & field by using SAP Query.
Rgds
Srivastav
+91-9973504950If I am correct, in table KDST, you can see the details of Sales BOM with sale order. Since right now, I dont have access to SAP, I am unable to confirm this. You have to consider this table and develop on your own logic with the help of ABAPer.
thanks
G. Lakshmipathi -
Hi Experts..
I need a query to find the total items sold in a particular period for an particular item.
Pls help me in finding the query.
Regards,
Vamsi.
Edited by: Parimis on Jan 20, 2010 5:10 AMHi Vamsi,
Check the thread,
Help With Monthly Sales Query
Regards,
Madhan. -
Query for Sales order and corr.AR Invoice Info
Hi,
I need to write a query which gives the flollowing sales order info along with the coressponding AR invoices info
Sales Order columns reqd:
OPERATING_UNIT
ORDER_NUMBER
CUSTOMER_NUM
CUSTOMER_NAME
ORDERED_DATE
FLOW_STATUS_CODE
TOTAL_ORDER_AMOUNT
AR invoice columns reqd for the sales orders:
Invoice number,
Invoice date,
Invoice Total.
Can anyone help me out with this?
Thanks,
AshHi Ash,
There are some issues that must be defined before you have the exact query.
Do you have freight charges or non-inclusive tax? If you have, freight charges and tax amounts must be included?
Depending on you grouping rule, you can have lines from more than one order in a single invoice. In this case, as invoice amount you want the sum of all lines, or only the lines from that order?
Below is an example using two views. It assumes that grouping rules split lines from different order into different invoices.
Hope it helps,
Ketter Ohnes
create or replace view order_summary as
select oh.org_id,
oh.ORDER_NUMBER,
oh.header_id,
ott.name tt_name,
ca.account_number,
p.party_name,
oh.ordered_date,
oh.flow_status_code,
sum(ol.ordered_quantity*ol.unit_selling_price) total,
sum(ol.tax_value) tax,
(select sum(operand)
from OE_PRICE_ADJUSTMENTS_v x
where x.header_id = oh.header_id
and x.adjustment_type_code='FREIGHT_CHARGE') freight_charge
from oe_order_headers_all oh,
oe_order_lines_all ol,
hz_cust_accounts ca,
hz_parties p,
oe_transaction_types_tl ott
where ol.header_id=oh.header_id
and oh.sold_to_org_id = ca.cust_account_id
and ca.party_id = p.party_id
and oh.order_type_id = ott.transaction_type_id
and ott.language =
(select language_code
from fnd_languages
where installed_flag = 'B')
group by oh.org_id,
oh.header_id,
oh.ORDER_NUMBER ,
ott.name,
ca.account_number,
p.party_name,
oh.ordered_date,
oh.flow_status_code;
create or replace view invoice_summary as
select a.interface_header_context,
a.trx_date,
a.trx_number,
b.interface_line_attribute1,
b.interface_line_attribute2 tt_name,
a.customer_trx_id,
sum(b.extended_amount) invoice_total
from ra_customer_trx_all a,
ra_customer_trx_lines_all b
where a.customer_trx_id = b.customer_trx_id
and b.interface_line_context = 'ORDER ENTRY'
and b.line_type in ('LINE','FREIGHT')
group by a.interface_header_context,
a.trx_date, a.trx_number,
b.interface_line_attribute1,
b.interface_line_attribute2,
a.customer_trx_id;
select *
from order_summary o,
invoice_summary i
where o.order_number between :1 and :2
and o.order_number = i.interface_line_attribute1
and o.tt_name = i.tt_name; -
Query for Sales Order and AR Invoice Information
Hi,
I need to write a query which gives the flollowing sales order info along with the coressponding AR invoices info
Sales Order columns reqd:
OPERATING_UNIT
ORDER_NUMBER
CUSTOMER_NUM
CUSTOMER_NAME
ORDERED_DATE
FLOW_STATUS_CODE
TOTAL_ORDER_AMOUNT
AR invoice columns reqd for the sales orders:
Invoice number,
Invoice date,
Invoice Total.
Can anyone help me out with this?
Thanks,
AshHi Ash,
Table RA_CUSTOMER_TRX_ALL can be joined to RA_CUSTOMER_TRX_LINES_ALL table through CUSTOMER_TRX_ID column. The table RA_CUSTOMER_TRX_LINES_ALL.INTERFACE_LINE_ATTRIBUTE6 = OE_ORDER_LINES_ALL.LINE_ID. And from the LineId, you can get the HeaderId os the OE_ORDER_HEADERS_ALL table.
You must have visualized the query by now.
Thanks
Sumit
Maybe you are looking for
-
Can I have multiple iPhoto Libraries?
My iPhoto library is getting quite large as it becomes the sole management tool for all my family & friends events (and sometimes extended family). I've recently had twins so I've been taking hundreds of photos (and movies) of them and have created a
-
Final Cut 7 running slow after upgrading to SNOW LEOPARD
I was happy how everything was working and just didn't install SL on my Mac Pro. The SL upgrade DVD was sitting on my desk for two months already and I was waiting for a good timing to install it [+didn't want to upgrade while I had ongoing projects+
-
Here's the situation: the "Enable disk use" in the iPod preferences within iTunes is disabled (not checked). I plugged in my nano after putting it in Disk Mode by holding the Center and Play button simultaneously while it's resetting. The nano will s
-
Location of files transferred by Bluetooth
Probably a dumb question here, but I don't know where the find the files that I transfer to our Macs via Bluetooth. In which folder are they located? I'm having trouble finding them. Any guidance is appreciated. Thanks. Chris
-
Hi All, Are there any new bios' for the K7T266 PRO2-RU (i.e., above 3.7), that will support the AMD 2200+, 2400+ Processors once the Modification is done? Thanks. Craig