QUERY REPORT FOR EXCISE

Dear experts,
I want query OF OUTGOING EXCISE INVOICE which gives following information from OUTGOING EXCISE INVOICE DOCUMENT.
Document series, Document number, posting date, quantity, Varient(Varient No.-UDF OF ITEM MASTER Variable - 1, OITM, U_VarNum), Item code, Frame (UDF COLUMN OF ITEM MASTER Variable = 1, OITM, U_Frame), Unit Price, Taxable Value(Total (LC) OF OUTGOING EXCISE INVOICE), Excise duty value, Edu Cess Value, S & H edu Cess Value, VAT, TOTAL INVOICE VALUE (INCLUDING TAX AMOUNT), P.O. Number(CUSTOMER P.O. NO. of OEI variable = 11, U_Ponumber )
Please do needful.
Thanks & Regards,
Akshata

Ok......
Try this too......
SELECT S.seriesname,M.DocNum, M.DocDate as 'Date', M.CardName as 'Customer Name',
L.itemcode,L.Dscription, L.Quantity,L.Price,L.LineTotal,I_U_VarNum,I_U_Frame,M.U_Ponumber , L.LineTotal as 'Base Amt.(Rs.)',
(SELECT Avg(TaxRate) FROM OEI4 where statype=-90 and DocEntry=M.DocEntry And LineNum=L.LineNum) as 'ED %',
       (SELECT Sum(TaxSum) FROM OEI4 where statype=-90 and DocEntry=M.DocEntry And LineNum=L.LineNum) as 'ED (Rs.)',
(SELECT Avg(TaxRate) FROM OEI4 where statype=-60 and DocEntry=M.DocEntry And LineNum=L.LineNum) as 'EDCS %',
       (SELECT Sum(TaxSum) FROM OEI4 where statype=-60 and DocEntry=M.DocEntry And LineNum=L.LineNum) as 'EDCS (Rs.)',
(SELECT Avg(TaxRate) FROM OEI4 where statype=-55 and DocEntry=M.DocEntry And LineNum=L.LineNum) as 'HECS %',
       (SELECT Sum(TaxSum) FROM OEI4 where statype=-55 and DocEntry=M.DocEntry And LineNum=L.LineNum) as 'HECS (Rs.)',
(SELECT Avg(TaxRate) FROM OEI4 where statype=1 and DocEntry=M.DocEntry And LineNum=L.LineNum) as ' VAT % ',
       (SELECT Sum(TaxSum) FROM OEI4 where statype=1 and DocEntry=M.DocEntry And LineNum=L.LineNum) as ' VAT (Rs.) ',
(SELECT Avg(TaxRate) FROM OEI4 where statype=4 and DocEntry=M.DocEntry And LineNum=L.LineNum) as ' CST % ',
       (SELECT Sum(TaxSum) FROM OEI4 where statype=4 and DocEntry=M.DocEntry And LineNum=L.LineNum) as ' CST (Rs.) ',
M.DocTotal as 'Total (Rs.)'
FROM OOEI M LEFT OUTER JOIN OEI1 L on L.DocEntry=M.DocEntry
LEFT OUTER JOIN OEI4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
LEFT OUTER JOIN OEI5 J ON M.DocEntry = J.AbsEntry
LEFT OUTER JOIN OEI3 Q ON M.DocEntry = Q.DocEntry
LEFT JOIN NNM1 S ON M.SERIES=S.SERIES
LEFT JOIN OITM I ON I.ITEMCODE=L.ITEMCODE
GROUP BY
M.DocNum,S.seriesname,L.itemcode,L.Price,L.LineTotal,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,
M.DiscSum,M.WTSum,M.DocTotal,I_U_VarNum,I_U_Frame,M.U_Ponumber,L.Dscription, L.Quantity, L.LineNum
Regards,
Rahul

Similar Messages

  • Monthly Production Report for Excise

    Dear All,
    I need a monthly production report for Excise purpose as per Indian statutory requirement.
    The requirements are
    1] There should be a date range to select the period of the report
    2] It should show a report only  on those items which are marked as 'sales item' in the item master data [ so that all the other intermediaries / WIP's willn't appear in the report.
    3] If one item is produced / manufactured using different production orders, We need a consolidated quantity for the period under selection.
    Report Format :
    Item code   - Item Description  - Planned Quantity  - Manufactured Quantity - Open Quantity
    Thanks in advance,
    Regards,
    Suresh Kannan

    Hi Suresh,
    Try this query
    SELECT T0.ItemCode, T1.ItemName,
    SUM(T0.PlannedQty) 'Planned Qty',
    SUM(T0.CmpltQty) 'Manufactured Qty', SUM(T0.PlannedQty-T0.CmpltQty-T0.RjctQty) 'Open Qty'
    FROM dbo.OWOR T0
    INNER JOIN dbo.OITM T1 ON T1.ItemCode = T0.ItemCode AND T1.SellItem = 'Y'
    WHERE T0.RlsDate >=[%1] AND T0.RlsDate <=[%2]  and T0.Type != 'D'
    GROUP BY T0.ItemCode, T1.ItemName
    Regards,
    Bala

  • SAP QUERY report for vendor line items

    Hi
    I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compare with fbl1n.I checked the document number too...the same doc number is twice in my query report.One with correct amount and another with wrong one.How do i chk.Where did i go wrong in creating query.I used logical database KDF.
    Please advise.

    i chked...how do we get the amount displayed in query...it just displays amount no debit credit symbol... i have selected BSEG-DMBTR field but no -/+ sign,how is it done in query,please suggest.

  • Custom Report For Excise On Sales

    hi friends,
    i need custom report for excise on sale like below format, can you please guide me to prapare FS for below requirement.
    Material Code And Discriptiion
    Sales Order No     
    Delivery No     
    Billing No     
    Accounting No     
    Excise Invoice No     
    Sold to Party     
    Billed Qty     
    gross value     
    bed     
    ecess     
    cess     
    she     
    total excise duty     
    invoice value
    Regds
    Ashwini

    dear friend,
    you can try the standard t-code SDO1 and change the layout
    good luck!

  • Report for Excisable and Non Excisable vendor

    Hello
    Is there any Std report is there....it can give us the list of Excisable and Non excisable Vendors based on the Perticular Purchase Orgnisation.
    Regards
    sapman man

    Hi
    I do not think in SAP this kind of report is available.
    what you can do , if your vendor master has different  accounting group for Excisable and Non excisable vendor then you can check in standard table of vendor master like LFA1  and LFM1 or create Z report or Query.
    Awaiting your feedback.
    Kishor Rudani

  • SCCM 2012 Query report for specific software installed.

    I have Reporting point installed and it seems to be working as I was able to run OS reports.
    Here's what I would like to do.
    1. I need a query/report to show us all the machines that do not have Microsoft Forefront Endpoint Protection installed.
    2. I also need a query/report showing what machines still have Sophos AV installed.
    Any help is greatly appreciated it.
    Thanks,
    Voev

    I was not able to use the Reporting to get computers without FEP installed. So I did a workaround.
    Create Device Collection for computers with FEP installed
    1. Device Collections => Create Device Collection =>name it "Computers with FEP installed=> Query Rule Properties => Edit Query Statement => Criteria tab => Add the following statements
    Criterion Type: Simple value
    Where: Installed Software - ARPDisplay Name
    Operator: is equal to
    Value: System Center 2012 Endpoint Protection          (as appeared in Add/remove program name)
    Create Device Collection for computers without FEP installed
    1. Device Collections => Create Device Collection => Name "Computers without FEP Installed" => Query Rule Properties => Add Rule => Include Collections => Tick "All Systems" => OK =>  then you need to add
    the Exclude by => Add Rule => Exclude Collections => Tick " Computers with FEP Installed => OK
    So in my "All Systems" Collection has 1000 members
    Computers with FEP Installed collection has 900 members
    Computers without FEP Installed collection has 100 members
    Add the with FEP installed & without FEP installed collections together is equal to 1000 members of the All Systems.

  • Query Report  For  a Forecast

    Hi Members,
    I want a Query report showing items Consumption From A to Z for a proposed Forecast, that mean when i plane Finish items like this in MRP forecast, for a one month
    Item - Qty For September
    A - 20
    B - 10
    A,B are Finish items which having BOM,
    BOM are contains several components items
    i want a report giving details of item wise total
    requirement for the above forecast,in this case we should not consider present stock, purchase order,sales orders. so please help me to do it.
    tell me how can i do it with a query .
    thank you,
    saman
    Edited by: saman_wm on Aug 8, 2011 8:36 AM

    Hi,
    Have you started with query regarding the data which you want. if yes, you can post here and members can check the same and help you out with.
    If you have not started then you can check following tables :
    OFCT, FCT1, OITM, ITM1, OMSN, MSN2, OITT, ITT1
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • SQL query/report for "count of specific file type"?

    I figured this would be a good first post, as I have found every question I have had to date by browsing the forums, but I am stumped with this one. I recently expressed some concern to HR regarding the use of...lets call it "unauthorized content"
    on our network. Getting little to no response, I would like to produce a report containing a total count based on specific file type. For example, how many .mp3 files are stored on company equipment, how many torrent files (sadly, this is true), etc.
    Having very basic knowledge of SQL, I am puzzled where to start. I am currently using SCCM SP3 and SQL 2008 R2 with both basic reporting and SSRS enabled on the site.

    You'll first need to inventory those file types then here's some reports for you.
    Get the pstreports from my skydrive, import them and you can cange the file type to mp3 or whatever you need. I monitor mp3 files too.
    http://cid-6a8d30f2bc0666d0.office.live.com/browse.aspx/SCCM%20Custom%20Reports
    John Marcum | http://myitforum.com/cs2/blogs/jmarcum/|

  • Report for Excise Part II Pending to Capture

    Hi,
    Is there any Std. report or Table which can provide List of GR document Number against which 'Excise Part II' is pending.
    Regards,
    VK

    Hi,
    Use following Reports;
    J1IGR - List of GR's without gate pass (Only Part 1 has been captured)
    J1I7 - Query Excise invoices (Here select appropriate Radio button "Only Part 1 Posted and Part 2 not Posted") and execute for ETT GRPO

  • Query Report for manual Reconciliation

    Hi Experts
    I want to take print layout for manual reconciliation or can any provide me with a query .It will be very much useful for me
    system path: modules -
    >Banking----
    Bank Statements & External Reconciliations --->Manual Reconciliation
    here I give inputs and run it then i wil1 get  Reconciliation Bank Statement
    this report i want to take as PLD Or Provide me with a Query
    Please do needful !!
    thanks In Advance
    Thanks & Regards
    Jenny

    Hi Jenny,
    I'm currently working on a report to identify if there is a stand alone credit memo for an invoice. I am using the OITR and ITR1 tables. Here you can identify whether there was any type of manual reconciliation within the system. The "ReconType" will be "O". I'm sorry I cannot provide the report, but this should enable you to write the query.
    Taylor

  • Need a SCCM SQL Query Report for Installed Software with Packages and Applications.

    I need a report that will show the number of installs of all of the workstations applications and packages over a given period of time. 
    This will let us know how effective our deployments are and how well the on-demand software is being adopted.
    Any help?

    Your Install Source might be an option as most SCCM deployments will install from C:\Windows\ccmcache\xx [where xx is a random folder name]. Most software vendors will put an install source in the registry, but not all do, so it won't be completely accurate.
    When software is installed manually, the install source path won't be C:\Windows\ccmcache\xx.
    Here is a SQL query I have for Install Source:
    SELECT v_GS_COMPUTER_SYSTEM.Name0 as 'Computer Name', v_GS_INSTALLED_SOFTWARE.ProductName0 as 'Software Title', v_GS_INSTALLED_SOFTWARE.InstallSource0 as 'Install Source', v_GS_INSTALLED_SOFTWARE.ProductVersion0 as 'Version', v_GS_INSTALLED_SOFTWARE.InstalledLocation0
    as 'Installed Location', v_GS_INSTALLED_SOFTWARE.InstallDate0 as 'Install Date'
    FROM v_GS_COMPUTER_SYSTEM INNER JOIN v_GS_INSTALLED_SOFTWARE ON v_GS_COMPUTER_SYSTEM.ResourceID = v_GS_INSTALLED_SOFTWARE.ResourceID
    WHERE v_GS_INSTALLED_SOFTWARE.ProductName0 like '%Office 365 Pro%'
    ORDER BY v_GS_COMPUTER_SYSTEM.Name0

  • SQVI Report for Excise Invoice

    Dear Friends,
    I am trying to create a report in SQVI, where, I want the system to populate the Excise Invoice number, Commercial Invoice number & the Accounting document number.
    Let me know if anybody can help with the relevant tables that can be joined in SQVI.
    Rgds,
    Indrajit

    Hi,
    Make a joint of table J_1iexcxhdr & BSEG join RDOC field with VBELN In selection parameter company code & fiscal year to improve the performance of the report.
    Regards

  • Query report for account with the check no.

    Hi,
    I need a report where it should have the posting date,duedate,check no.,row details which is available in JDT1,Debit amt,balance  of a g/l account.
    I couldn't retrive the check no. for that account..
    Kindly help me.

    Ref3 is field in journal entry where cheque no is captured.
    Jeyakanthan

  • How to build SAP B1 query reports for VAT in Source currencies

    Hello,
    Need help ASP

    You may start your query by checking these threads first:
    VAT Report
    I need VAT Report
    Re: Can we set tax amount directly instead of tax code?
    Thanks,
    Gordon

  • Query report for details of incoming payment received based on invoice

    Hi expert
    Can any one Improve this query !!!
    SELECT T0.DocNum as 'AR Invoice Number',T0.DocDate as 'Posting Date', T1.CardCode, T1.CardName,  
    T0.DocTotal as 'AR Invoice Total',T0.VatSum as Tax,T1.CashSum, T1.TrsfrSum, T2.DocNum as 'Incoming Payment Number ', T2.DueDate as 'Check Due Date' ,
    T2.CheckNum as 'Check Number', T2.CheckSum as 'Amount'
    FROM OINV T0 INNER JOIN ORCT T1 ON T0.ReceiptNum= T1.DocEntry Left JOIN RCT1 T2 ON T1.DocNum = T2.DocNum ;  
    where T0.DocDate >=[%0] and T0.DocDate <=[%1]
    For one particular invoice no 88  Amount INR 1345  the customer paid  two cheques of amount INR 1000 ( Incomining payment no 21) dated 10/10/2009 and INR 345( Incoming payment no 25)  dated 12/10/2009.
    But My problem is this query showing only last one that is amount INR 345 of incoming payment no 25 of date 12/10/2009
    Regards
    Arun K Singh

    Hi Arun,
    Couple of things
    RCT2 is the table which has links to the Invoices associated with a incoming payment, so you need to include that.  Also the relation is between OINV and RCT2..so check this query
    NOTE: You date range for selection in the WHERE statment is Invoice Date.  You should consider using T1.DocDate which will be receipt rate. 
    The SQL below is just to show you the relationship between the tables.  Based on the results requirement you will need to work with your JOINS
    SELECT T0.DocNum as 'AR Invoice Number',T0.DocDate as 'Posting Date', T1.CardCode, T1.CardName,
    T0.DocTotal as 'AR Invoice Total',T0.VatSum as Tax,T1.CashSum, T1.TrsfrSum, T2.DocNum as 'Incoming Payment Number ', T2.DueDate as 'Check Due Date' ,
    T2.CheckNum as 'Check Number', T2.CheckSum as 'Amount'
    FROM [dbo].[ORCT] T1
    INNER JOIN [dbo].[RCT1] T2 ON T2.DocNum = T1.DocNum
    INNER JOIN [dbo].[RCT2] T3 ON T3.DocNum = T1.DocNum
    INNER JOIN [dbo].[OINV] T0 ON T0.DocEntry = T3.DocEntry
    WHERE T0.DocDate >= '[%0]' and T0.DocDate <= '[%1]'
    Suda

Maybe you are looking for