Query to open incoming excise invoice when in GRPO

Can anybody send a query so that it will open incoming excise invoice when in GRPO....

Hi Krishna,
Try this,
SELECT T0.[DocNum], T0.[DocDate], T0.[DocStatus], T0.[CardCode], T0.[CardName],
T1.[ItemCode], T1.[Dscription], T1.[WhsCode], T1.[Quantity],
T1.[PriceBefDi], T1.[TaxCode], T1.[VatSum], T1.[LineTotal], T0.[DocTotal]
FROM OPDN T0
INNER JOIN PDN1 T1 ON T0.DocEntry = T1.DocEntry
WHERE
T1.[Excisable] ='N'
AND
T0.[DocStatus]='O'
OR
T1.[TargetType]='-1'
Regards,
Madhan.

Similar Messages

  • Excise Invoice from Multiple GRPO

    Hi,
    How can we create a singe incoming excise invoice from multiple GRPOs? While creating one, when we use the copy from button, it allows to select only one GRPO and not multiple unlike A/P Invoice which can be created from multiple GRPOs.
    Thanks,
    Amol.

    Hai!
    It's SAP B1 functionality. I don't know why they have restricted this.
    Regards,
    Thanga raj.K

  • Open incoming excise document corresponding to A/P Invoice or GRPO

    How do I open an incoming excise document corresponding to A/P invoice or GRPO from those screens. Currently to open an excise invoice, we have to go to the incoming excise document and search for the document corresponding to the GRPO or A/P Invoice.

    Hi Krishna,
    Currently there is no direct way to go to the excise invoice. Maybe you can create a Query Report to display list of Excise invoices with their base refernces.
    Try this for Outgoing Excise Invoice and similarly you can update it for Incoming Excise Invoice.
    select E0.Docnum [Outgoing Excise],
    D0.Docnum [Delivery], N0.Docnum [Invoice] from
    (ooei E0 inner join oei1 E1 on E0.Docentry=E1.Docentry)
    Full outer join (ODLN D0 inner join DLN1 D1 on D0.Docentry=D1.Docentry) on
    E1.BaseEntry=D1.Docentry
    Full Outer Join (OINV N0 inner join INV1 N1 on N0.Docentry=N1.Docentry) on
    D1.Docentry=N1.BaseEntry
    where D1.excisable ='Y'
    thanks,
    Joseph

  • INcoming Excises Invoice Query

    SELECT DISTINCT (T0.[DocNum]) AS 'INVOICE NUMBER', T0.[DocDate] AS 'INVOICE DATE',T0.[CardName], T1.[ItemCode] AS 'PART NO', T1.[Dscription] AS 'PART DESCRIPTION', T1.[Quantity], T1.[Price], T1.[LineTotal] AS 'BASE AMOUNT',
    (SELECT sum(TaxSum) FROM IEI4 where statype=-90 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'BED 10%',
    (SELECT sum(TaxSum) FROM IEI4 where statype=-60 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'ECESS 2%',
    (SELECT sum(TaxSum) FROM IEI4 where statype=-55 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'HSCESS 1%',
    (SELECT sum(TaxSum) FROM IEI4 where statype=4 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'CST',
    (SELECT sum(TaxSum) FROM IEI4 where statype=1 and DocEntry=T0.DocEntry and LineNum=t1.LineNum) as 'VAT',
    T1.[LineTotal]+t1.[VatSum] as'TOTAL'
    FROM OIEI T0 INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN IEI4 T2 ON T0.DocEntry = T2.DocEntry
    INNER JOIN OITM T3 ON T1.ItemCode = T3.ItemCode
    WHERE T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1] 
    above this queriry is incoming Excise invoice warhouse and Busniess Partner mingle, so now i want to need only BP wise Incoming Excises Invoice Query , How do i Negligble? pls help me and reply soon , How Do i change the Query?

    Hi Rakan.......
    Sorry. Your way of telling requirement is bit Ambiguous.......
    Please correct me what I understood from your requirement is.\
    Generally incoming Excise Invoice is made from GRPO/ORDN/ORIN and base on Inventory Transfer.
    So you want only those Incoming Excise Invoice which is based on GRPO that is BP wise.
    Am I correct now?
    If yes the try this......
    SELECT DISTINCT (T0.DocNum) AS 'INVOICE NUMBER', T0.DocDate AS 'INVOICE DATE',T0.CardName, T1.ItemCode AS 'PART NO', T1.Dscription AS 'PART DESCRIPTION', T1.Quantity, T1.Price, T1.LineTotal AS 'BASE AMOUNT',
    (SELECT sum(TaxSum) FROM IEI4 where statype=-90 and DocEntry=T0.DocEntry ) as 'BED 10%',
    (SELECT sum(TaxSum) FROM IEI4 where statype=-60 and DocEntry=T0.DocEntry ) as 'ECESS 2%',
    (SELECT sum(TaxSum) FROM IEI4 where statype=-55 and DocEntry=T0.DocEntry ) as 'HSCESS 1%',
    (SELECT sum(TaxSum) FROM IEI4 where statype=4 and DocEntry=T0.DocEntry ) as 'CST',
    (SELECT sum(TaxSum) FROM IEI4 where statype=1 and DocEntry=T0.DocEntry ) as 'VAT',
    T1.LineTotal+t1.VatSum as'TOTAL'
    FROM OIEI T0 INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN IEI4 T2 ON T0.DocEntry = T2.DocEntry
    INNER JOIN OITM T3 ON T1.ItemCode = T3.ItemCode
    WHERE T0.DocDate >= '%0' AND T0.DocDate <= '%1' AND T1.BaseType in (20,16,14)
    Above will give you the details of Excise Invoice BP wise....
    Regards,
    Rahul

  • How do we raise Incoming Excise invoice on Vendor1 and A/P Invoice on Vendo

    Hi All,
    How do we raise Incoming Excise invoice on Vendor1 and A/P Invoice on Vendor2 for a single purchase order?
    The Scenario:  PO is raised on Vendor2 for certain goods excisable and Vendor2 is not registered under Excise hence i cannot get Incoming excise invoice from Vendor2 or I cannot raise Excise invoice in B1 on the name of Vendor2.
    But
    the same goods (which are excisable) were already supplied by Vendor1 to Vendor2.  So here the excise invoice is coming from Vendor1 and A/P Invoice from Vendor2 how this is actually handled in Business One?  How do we show the A/P Invoice amount due on Vendor2 and the Excise Passed from Vendor1?
    Thanks
    SV Reddy

    Hi Thanga Raj,
    what you said is works only for payment consolidation.  where in a particular purchase two vendors are involved, the tax updates should go into relevant vendor master data.  in the above case excise is updated in the vendor1 account and RG23 also should be generated on the name of Vendor1.
    Since you already raising incoming excise invoice on the name of Vendor1 you also need to raise A/P Invoice on Vendor1 (this is mandatory, from the goods receipt PO when you click copy to Incoming Excise Invoice and A/P Invoice the system automatically inserts "Vendor1")
    but how do you update the Vendor2 account only for the A/P Invoice VAT portion.  Because in reality the VAT you are paying to Vendor2 since you need to raise the a/P Invoice on the name of Vendor2.  it is not actually happening in business one.  If you try to raise A/P Invoice on Vendor2 from this Goods Receipt PO, initially the system copies Vendor1 from GRPO and if you change and try to add the invoice on Vendor2 name, the system will ask you to create a serial number again if the item is excisable.  here the work is duplicated for the same item you already created a serial number while you creating the Goods Rectipt PO from Vendor1. 
    Any body knows any other scenario please help me.
    Thanks
    SV Reddy

  • Cancellation of Incoming Excise Invoice at Depot

    Hi Experts,
    We have created a MIGO against PO and excise invoice is created alongwith MIGO. Hence RG23D register is updated. For some reason we have reversed the MIGO. But quantity is still lying in RG23D register however we have no stock of that item.
    Is there any way to reverse the incoming excise invoice so that quantity can be reomved from RG23D register.
    Waiting for your precious reply!!!
    Kuldeep Dahiya

    Hi Santosh,
    Thanks 4 ur reply. But when I am trying to cancel by entering the material doc, it is showing error "material doc .... not found".
    Plz reply some other way or solution of this problem.

  • Excise on Freight does not include in Incoming Excise Invoice

    HI Expert,
    I am using SAP 8.81 (PL: 5),
    I Added GRPO where I included Freight at row level and applied Excise Tax as Excise tax in freight on document level is not allowed in SAP. Now when I copy GRPO to Incoming Excise Invoice, Incoming Excise Invoice is not including Excise tax amount of freight and also not in its Journal Entry posting internally.
    I also faced problem when I copy to AP Invoice the freight is not being copied from GRPO which is defined at Row level of GRPO.
    Is there any particular setting for this?
    Please help me to solve this issue.
    Thanks in Advance,
    Vishal

    Hi Deepak,
    Appreciate your response to my thread.....
    But I know about the Freight setup as I mentioned in my thread applied Excise Tax as Excise tax in freight on document level is not allowed in SAP. I dont have problem with this as system is working properly when we define freight in bottom Level but we can not select Excisable tax code on bottom freight level. And we can select this only at row level Freight Setup.......
    But when I copy GRPO to Incoming Excise Invoice, Incoming Excise Invoice is not including Excise tax amount of freight and also not in its Journal Entry posting internally.
    I also faced problem when I copy to AP Invoice the freight is not being copied from GRPO which is defined at Row level of GRPO.
    Experts please focus on this issue if it is very serious if is not included in SAP B1.
    Or is that PL Issue?
    Thanks In Advance!!!!!
    Vishal

  • Incoming Excise Invoice - Print Layout Design

    Dear all,
            How to prepare the Incoming Excise Invoice Print Layout Design.
            That Excise is Dealers Invoice.
            For Ex: 'X' is the one material , this has defined in material master as Inventory , Purchase and Sales item and its Excisable material.
           Ths 'X' material purchase from the vendor and selling to the customer.
           At the time sales for incoming excise invoice, in that invoice should include the what is purchases of that material and what is sales?
         This information how to bring the Print Layout Design at Incoming Excise Invoice.
             Please guide to me
    Warm Regards,
    K.Prasad,
    +919921525560.

    At first you have to check the Excisable in Item master for doing excise transactions.
    Incoming Excise Invoice can be generated after doing Goods Receipt Transactions.
    From Copy to Option Goto >> Incoming Excise Invoice >> the invoice form will be opened
    From here you can select the PLD icon and design the layout you need.
    come back here if any queries

  • Change posting date in incoming excise invoice

    I need to be able to change posting date in incoming excise invoice. It just takes the date from GRPO and doesn't let me edit it. There are instances when I get excise invoice at a later date, and when that date may be in the next month, I want to be able to post excise entry in the next month. If it posts in the previous month, and if the excise returns have been filed, the closing balances will differ. For the documentation purpose, we have the document date, which can be same date as the GRPO date.

    Hi Krishna.....
    This should be legally taken as GRPO date because its excise rule when you receiving material your Excise invoice should on the same date. So whatever system is behaving its legally correct. You cannot change the Incoming Excise Date as you wish. It must be the GRN date.....
    Regards,
    Rahul

  • Incoming excise invoice posting problem

    Dear All,
             When i post the Incoming excise invoice the following error is coming.
              Register Number not defined for the location
               Please guide.
    Edited by: Hitesh Parsawala on Oct 23, 2008 12:05 PM

    Hi Hitesh,
    If you are using SAP B1 2007 - there is an additional facility to give different excise registration no. to different location (warehouse) for one company which is not available in SAP 2005.
    Hope this may help in understanding your issue.
    Regards,
    Abhishek

  • Credit Note With Out Incoming Excise invoice

    Hi guys,
    I want to know what are the A/R Credit Memos that still has not been converted intlo Incoming Excise Invoices.
    will any  body please provide me a query for the same.
    I have tried a query for displaying the Incoming Excise Invoices which has credit note as a  base document by this query.
    SELECT distinct T0.[DocNum], T0.[DocDate], T0.[CardName],  T1.[BaseRef] as 'Credit Note No', T1.[BaseType]
    FROM OIEI T0  INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE T0.[DocDate] between '[%0]' and '[%1]' and T1.BaseType ='14'
    Thanks & Regards,
    Vamsi.

    You may try:
    SELECT distinct T0.[DocNum], T0.[DocDate], T0.[CardName]
    FROM dbo.ORIN T0 
    INNER JOIN dbo.RIN1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE T0.[DocDate] between '[%0]' and '[%1]' and T1.TargetType != XXX
    You need to replace XXX with the object type for Incoming Excise invoice.
    You may check these threads if you don't know the type:
    list of object type for sp_transactionnotification
    SP_Notification | From where to find the list of Object Type details

  • How to find Material Document respect to incoming excise invoices?

    When stock is transfered from one plant to another,
    in sending plant, material document is created, with respect to this material document out bound delivery is created further out bound excise invoices.
    In receiving plant when the incoming stock reached the plant with incoming excise
    invoice, material document is created .
    how to find the this receiving plant material document with respect to incoming excise invoice.?
    how to get the receiving plant material documents with respect to sending plant material documents?

    when  the material is transferred from the one plant to another.
    before going to transfer the material.
    one material document is created
    with respect to multiple item  of material document delivery documents created.
    for every delivery one invoice is generated.
    when the stock is reached to plant with invoice
    with respect to this invoice one material document is created for quality check.
    I this case we may have multiple invoices may have the multiple material documents in receiving plant .
    how to find for which excise invoice it is creating material document in receiving plant?

  • Incoming Excise Invoice

    Dear Experts,
    One of My Clients has the following Scenario:
    They have to book AP invoice before getting the Bill Of Material (BOM) - Which consists of Customs Duty details and Other Expense. IN SBO we will not be able to Post AP invoice before putting Incoming excise Invoice. In this Case Incoming Excise Invoice can be posted only after receiving the BOM which will take 30 days but the client wants to BOOK the AP invoice first. While taking GRPO I have asked them not to clicking the Excise button just to avoid the Incoming Excise Invoice. But they want the Duty to be added along with the Item cost which can done only when they receive the BOM, Inventory Revaluation is not Possible because they sell the item as soon as Book it. PLS help with a Solution. 
    Regards,
    AKS

    Hi Arvind..........
              Here you can do work around to achive your requirement. Once you raised PO,  at the time of GRPO first do AP down payment invoice and dont do payment because of which your vendor liability will be created. Then do GRPO and when you receiv the excise gate pass then you punch the incoming invoice as well as AP invoice.
             I fyou feel this is correct work around the give me a hint. But before going plz test in demo database. I guess it would help you.
    Regards,

  • Unable to add Incoming Excise Invoice

    Hi All,
    While trying to add Incoming Excise Invoice, I'm gettin an error message,"Tax Definition, Message 173". I have checked the tax code and type, all the accounts are mapped here . What is causing this error and how to correctly add this document??
    Thanks in advance,
    Joseph

    Hi,
    Refer this note:559660  on Error message "Tax Definition (No.)" appears
    Symptom
    When attempting to add a document the message -"Tax Definition (No.)" appears
    Other terms
    Tax Definition, Error, Invoice, Credit Memo, AP Invoice, Message, Red, Add, Document, Invoice, Payment
    Reason and Prerequisites
    No General Ledger (G/L) account has been defined for tax groups used in the document
    Solution
    When you add a document that creates an automatic Journal Entry (e.g. Invoice, AP Invoice and Credit Memo), a relevant posting must be placed in accounting for the tax amounts in the document.
    If you select tax groups with a tax % of more than zero, then this must be recorded in the accounting system to the appropriate G/L Account defined for the tax group in "Administration" -> "Definitions" -> "Define Tax Groups" -> "VAT Account" / "Acquisition Tax" columns
    If no G/L Account has been selected for this kind of group, the system will display an error message, indicating the row number that contains a tax group with no G/L Account e.g.(1) and the document will not be added
    To remedy the described problem please perform the following steps:
       1. Select "Administration"
       2. Select "Definitions"
       3. Select "Define Tax Groups"
       4. Locate the tax group you used in the document
       5. Locate the VAT Account column and select an appropriate G/L account
       6. In case this tax group is of Input Tax type and the Acquisition Tax column is flagged you need to also select a G/L account in the Acquisition Tax column
    Hope this is helpful !

  • Incoming Excise Invoice::Whats the meaning of multiple GR multiple credits?

    Hello CIN Experts ,
    Pls clarify with an eg if possible of multiple GR multiple credits in case of incoming excise invoices .
    Does that mean that i can have the same invoice no. in more than one GR ??
    If so ..... whenever i try to post the second GR with the same vendor excise invoice number .. the system says " an excise invoice already exists for the same vendor."
    What is the functionality of the so called multiple GR multiple credits
    Rgds
    Anis

    Hello SAP Learner ,
    As per ur reply ... if there is a 100kg  PO qty & in the first GR the recieved qty is 50 , then the credit that we would be able to take would be that of 50 kg only  , which the system would prorate & hence subsequently i would post the excise invoice & take the credit for only 50  kg ...
    Later if the balance open qty as per PO are cancelled then there is no  question of GR & hence credit .
    Still the utitity  as well as functionality of multiple GR multiple credits is not very clear .
    pls do revert bk wid ur valuable inputs
    Rgds
    Anis

Maybe you are looking for