Invoice Help

I am using LiveCycle Designer to create invoices for my small business. I used one of templates available and edited it to my needs. My problem is that I can not get it to compute sales tax. The invoice was already set up to compute everything else such as quantity, amount, and subtotal, with a grand total at the bottom. There is even spaces for sales taxes at the bottom, but I can not get it to work. Can someone tell me what I'm doing wrong, or not doing, to get this form to work. Any help will be greatly appreciated!

Hi,
when you want to create a simple CSV File from your HTML Client I would prefer using a ashx (generic handler) for this kind of things.
You can create a button on your Screen and in the execute Tap subroutine insert something like this:
myapp.yourscreen.ShowDetails_execute = function (screen) {
var paramValue = screen.anyvalue; //a possible parameter
$.ajax({
type: 'post',
data: {
oparaid: paramValue,
url: '../WebRequests/yourhandlername.ashx',
success: function success(result) {
// Show result
if (result != "") {
element.innerText = result;
else {
element.innerText = result;
In the ashx you have to make your work in the ProcessRequest Routine
Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
Dim erg As String = ""
Dim myParameter As String = ""
Try
myParameter = Convert.ToString(context.Request.Params("oparaid"))
if myParameter = "" Then
Throw New Exception("There was no parameter")
End If
Using Ctx As ServerApplicationContext = ServerApplicationContext.CreateContext()
Dim ocsvdata = Aggregate b1 As anytable In Ctx.DataWorkspace.data.table Where b1.table.Id = CInt(myParameter)
'Write CSV File
erg = "Csv File is written"
End Using
Catch ex As Exception
erg = ex.Message
End Try
context.Response.ContentType = "text/plain"
context.Response.Write(erg)
End Sub
This should be all. Translating this into C# should not be an issue.
Hope this helps
Kind Regards
Thomas

Similar Messages

  • XML Invoice - help with Tax Summary

    I've been tasked to modify an already modded XML Invoice using XMLP. I need to add a Tax Summary block at the bottom, showing the breakout of the tax codes and amounts charged on the invoice.
    I've played around with it, but so far I can only get the first tax line to show up. I can't get the others. I need to insert a conditional, but I don't know how or where.
    Has anyone run into anything like this before?
    This probably isn't the best problem summary... but if you could help I'd appreciate it!

    Hi,
    It sounds like you need to use a for-each to show each of your tax lines. If you do not have the for-each XMLP will only show the first tax line that is hits in the XML Output.
    Would suggest that you take a quick look at the XMLP User Guide documentation for more information on how to use for-each.
    Let me know if this does not solve your problem, or if you are still struggling.
    Regards,
    Cj

  • SD related closing old orders, deliveries, invoices help needed

    Dear, Gurus
    I have a few inquiries in regards, to closing the status of my sales orders. First, think of worst case scenarios the user needs spoon feeding. So for some time the company had stopped using SAP and restarted after some time. I am now on the re-configuration and updating team. Lots of support related issues are coming. Now we have Sales Orders from the year 2007 which are not closed status wise. I know that if no subsequent document exist then I can easily assign reason for rejection. But now thing is that maybe delivery has been made but no invoices have been created. and vice versa. In VF04 there are thousands of invoices not yet created how can I close the Sales Order status if invoice document has not been created. In fact the user really does not care for none of these old orders from before December 01,2010. I am quite lost I mean if subsequent documents exist then reason for rejection does me no good. Also, if Invoice hasn't been made status in Sales Order is not complete with reason for rejection set. So what should I propose to the client? That they should at least create the invoices? Should everything be archived if possible? What does SAP suggest?
    Regards, Ali

    Dear Ali,
    If there are pending invoices in VF04 that means the Goods issue has already been done so the user needs to create the invoice and charge the customer .If the deliveries are hanging meaning if the PGI is not done then you can remove the picking quantity and  delete the delivery note.And about sales orders if suppose the sales orders quantity is 100 tonns and 50 tonns have been delivered so you can go to va02 change mode of sales orders make the order quanity as 50 tonns press 3 times enter then save the document then the order status will show as complete.
    Note : you can go to vl02n and take the option from the drop down menu PGI not done then enter your sales org and execute it will show you all deliveries which are not done PGI.
    I hope this will help you.
    Mansur Ali Khan.

  • Acrobat Forms for invoicing  Help

    I'm attempting to use the forms feature for invoicing. is there a way I can prevent the people I'm sending the form to from editing anything inside the form fields?
    Thanks

    The easiest thing to do is set the fields as Read Only. You can do this from JavaScript or by editing the field properties.
    Also, if you just need to send them a non-interactive document, you can "flatten" the form either from JavaScript or simply by printing the form in Acrobat to create a new PDF file that no longer has form fields.

  • Where to check whether excise invoice is generated or no

    Hi
    I have an Order created, delivery performed, billing doc created and passed on to accounting.
    When i try to view the Output it is not allowing me to view the print preview and i seems excise invoice is created and not allowing me to view the preview of invoice.
    help required.
    sri

    Hi,
    You can check J1IEXCHDR table  -putting delivery number refdoc 1 or  J1IEXCDTL table putting delivery number or Billing Doc Number in refdoc 1 and refdoc2 fields and execute in SE16 T.Code.you will get the Internal Excise Number , take this number and again inputting in J1IEXCHDR you. get Excise Invoise Number
    Jegards,
    Jaya

  • Autocreate AP Invoice from PO record

    When I use report "Payables Open Interface Import" to create AP invoice after I manual entered some records in AP Interface tables.(both PO header and line). I can successfully create invoice in AP, but Oracle cannot pull out the Invoice Tax Name for the particular supplier, the Tax can be seen in the Invoice Distribution.
    Another problem is: after I Approve the invoice, the Approved Amount cannot be updated to the Total invoice Amount, it still be blank, so the Approved invoice cannot be transfered to General Ledger when run the request: Payables Transfer to General Ledger.
    can somebody has experience of how to autocreate invoice help me of this, Very thanks.
    null

    Hi Greg,
        Have u checked the cardcode of purchase order and AP Invoice.
    -5002 error will come in the following scenarios
    If u are trying to use closed purchase order
                    (or)
    If u use different cardcode than the purchse order
                    (or)
    If ur current systemdate is not in the businessone permissable range.(B'se u didn't set date in ur code.So it takes the current systemdate.
    Check once the above guide lines
    Regards
    Madhu

  • Printing iCloud invoices on Mac

    Hello,
    I am not able to print my monthly invoices.
    I always get an error and the adviseor to try it later or to contact Adobe.
    I can try it at any time, no result!
    Does anybody have the same problem?
    Thanks!

    If you are trying to do something with the Apple store... iCloud?... you need to contact Apple
    If you are having a problem with the Adobe Cloud, this link may help
    Invoice help http://helpx.adobe.com/x-productkb/policy-pricing/print-creative-cloud-receipt.html

  • Excise is not posted in part 1

    Hello all,
    When i am capturing and posting excise invoice in migo document being saved but when i display the doc. the messege comes that"No Part I exists for availing credit in excise invoice ".
    help
    points will be rewarded

    hello,
    yes i had maintained cenvat utilised and ticked it .

  • Herunterladen der monatlichen Rechnungen für die Creative Cloud gesperrt?

    Wie kann ich die monatlichen Rechnungen für die Creative Cloud des vergangen Jahres herunterladen? Benötige sie für die Buchhaltung. In der Historie ist nur die letzte Rechnung 2015 drinnen...

    Invoice help http://helpx.adobe.com/x-productkb/policy-pricing/print-creative-cloud-receipt.html

  • Delivery without Oei and AR

    Hi all,
    I want to see Deliveries without Outgoing excise invoice and AR invoices help me in query.
    Thanks & Regards,

    Hi Sachin......
                Try this one.....
    Select * From ODLN T0 Inner Join DLN1 T1 On T0.DocEntry=T1.DocEntry
    Left Outer Join OEI1 T2 On T1.DocEntry=T2.BaseEntry Left Outer Join INV1 T3
    On T1.DocEntry=T3.BaseEntry
    Regards,
    Rahul

  • Ios5 screwing up text messages and data allowances

    Hi,
    using ios5 on my old iphone 4, and when iCloud came out, I pressed "download all", set the phone down and went to sleep. Somehow in the middle of the night, the phone went off the wifi and on the data network and went on it's merry downloading way. there is not an infuriated enough smilie to show what my face looked like when I woke up the next morning to a ''hey. you are 358 MB over your monthly data allowance!'' on the 13th of the month when my phone plan starts on the 5th of the month...
    a) is there any way for the stores/icloud make you confirm you wanna keep downloading if you somehow get off a wifi network, so that BS like this doesn't happen again? I know you can't download anything over 20mb over the data network, but as very few song if any are over 20mb, then apparently no alarm went off and it kept downloading thru the effing night. There has got to be a way for this not to happen without having to look at the phone while it's downloading anything from iCloud/stores?
    and b) after that $hit happened, i turned off data so to limit the $$$ on my next bill, but now I`''learned'' on facebook that apparently, with ios5, text messages aren,t really text messages anymore, but are iMessages and go out/in the data plan? Is there any truth to that? If it is so, then what the effing **** again? and how do I turn it back to sms so that it's deducted out of the illimited text messages part of my plan and not out of my already-way-over-used data allowance?
    FWIW, I've still been using text messages since the 13th and it's working fine, even tho I have the data turned off, but now I'm really freaked out about opening my next invoice
    Help TIA

    To make sure you only use wifi for data, you can turn off the 3G data like you did. I can't explain why it would switch to your 3G data from wifi during the night. It could have been due to the network or the phone. The new iMessage is only between ios5 devices, so sending a text to another ios5 device will use data, but to other phones it will just send a regular sms text. You can turn iMessage off in the settings to make sure no data is ever used when texting. This is what I did since I have unlimited texting, but limited data.

  • Query help on Goods Receipt Query with AP Invoice

    Looking for a little help on a query.  I would like to list all the goods receipts for a given date range and then display the AP Invoice information (if its been copied to an AP Invoice).  I think my problem is in my where clause, I plagerized an SAP query to show GR and AP from a PO as a start.  SBO 2005 SP01.  Any help would be great appreciated.  Thanks
    SELECT distinct 'GR',
    D0.DocStatus,
    D0.DocNum ,
    D0.DocDate,
    D0.DocDueDate,
    D0.DocTotal,
    'AP',
    I0.DocStatus,
    I0.DocNum ,
    I0.DocDate,
    I0.DocDueDate,
    I0.DocTotal,
    I0.PaidToDate
    FROM
    ((OPDN  D0 inner Join PDN1 D1 on D0.DocEntry = D1.DocEntry)
    full outer join
    (OPCH I0 inner join PCH1 I1 on I0.DocEntry = I1.DocEntry)
    on (I1.BaseType=20 AND D1.DocEntry = I1.BaseEntry AND D1.LineNum=I1.BaseLine))
    WHERE
    (D1.BaseType=22 AND D1.DocDate>='[%0]' AND D1.DocDate<='[%1]')
    OR (I1.BaseType=20 AND I1.BaseEntry IN
    (SELECT Distinct DocEntry
    FROM PDN1 WHERE BaseType=22 AND DocDate>='[%0]' AND DocDate<='[%1]'))

    Hi Dalen ,
    I  believe it is because of the condition
    (D1.BaseType=22 AND D1.DocDate>='%0' AND D1.DocDate<='%1')
    OR (I1.BaseType=20 AND I1.BaseEntry IN
    (SELECT Distinct DocEntry FROM PDN1 WHERE PDN1.BaseType=22 AND DocDate>='%0' AND DocDate<='%1'))
    Try changing
    D1.BaseType=22 OR D1.DocDate>='%0' AND D1.DocDate<='%1
    PDN1.BaseType=22 OR DocDate>='%0' AND DocDate<='%1'))
    Lets see what would be the result . Lets have some fun with troubleshooting
    See what would be the difference in the result .
    Thank you
    Bishal

  • AR Open/Closed Invoices Migration Help

    Hello Experts,
    We have a data migration requirement for AR invoices from a legacy system to Oracle.
    We have both open and closed invoices. Can anyone of you help in giving the steps to be followed? This is for India AR Invoices. Expecting a quick response and it would be of great help to us! This is in 11.5.10
    Thanks,
    Janani Sekar
    Edited by: user11981778 on 20-Dec-2012 20:32

    Hi,
    Pl. populate the following open interfaces from your legacy data and then run the 'Autoinvoice Master Program'
    (1) RA_INTERFACE_LINES_ALL
    (2) ra_interface_distributions_all
    For open invoices the AR_PAYMENT_SCHEDULES_ALL.STATUS sholuld be equal to 'OP' .
    Pl. visit following link also for more info.
    http://bhaskarreddyapps.blogspot.in/2011/10/ar-invoice-interface.html
    HTH
    Sanjay

  • Pulling open invoices, and paid invoices with details (Query Help).

    Hello All,
    I am sure I messed something up in my joins. I am looking to pull a report of all invoices OINV for a month, then list details of any payment (if it is paid) next to it from RCT2. It is giving me a list of all of the paid invoices, but even though I have a LEFT JOIN it is not listing any of the invoices without payments.
    This is where I am now from the report wizard in Crystal.
    SELECT "OINV"."DocNum", "OINV"."SlpCode", "OINV"."CardCode", "OINV"."DocTotal", "OINV"."U_Commission", "OSLP"."SlpName", "RCT2"."DcntSum", "ORCT"."TaxDate", "OINV"."DocEntry", "OINV"."TotalExpns", "OINV"."CANCELED", "ORCT"."Canceled", "ORCT"."DocNum", "RCT2"."InvType"
    FROM   ("DBName"."dbo"."OINV" "OINV" LEFT OUTER JOIN "DBName"."dbo"."OSLP" "OSLP" ON "OINV"."SlpCode"="OSLP"."SlpCode")
    INNER JOIN ("DBName"."dbo"."ORCT" "ORCT" INNER JOIN "DBName"."dbo"."RCT2" "RCT2" ON "ORCT"."DocNum"="RCT2"."DocNum")
    ON "OINV"."DocEntry"="RCT2"."DocEntry"
    WHERE  "OINV"."CANCELED"='N' AND "ORCT"."Canceled"='N' AND "RCT2"."InvType"<=N'14'
    ORDER BY "OINV"."SlpCode", "ORCT"."DocNum", "ORCT"."TaxDate"
    Thank you in advance for any help you can give me.

    Hello Kiran,
    I thought about that, but my purposes for running the report is to determine commission based on the date that the invoice was paid, I need the TaxDate in ORCT as it relates to the payment in RCT2.
    Removing the ORCT.cancelled condition and the RCT2.invtype conditions now pulls all of the invoices, paid and unpaid. I know now I cant have them in my query, when the record does not exist in ORCT it doesnt have a value for cancelled, and when there is no record in RCT2 there is no invtype, and is filtered.
    Maybe I can say where ORCT.Canelled = 'N' OR ORCT.Cancelled = NULL, but I dont know if that would work.

  • Trying to create a Invoice based on Order need help Error -5002

    the dreaded -5002 error is haunting me too! and I could not find a matching solution for this in the forum....
    I need help quickly on this. I am trying to create invoices for some orders so the Base - Target relationship is retained. The orders I pick are all Open (DocStatus   = O and the lines are all Open LineStatus = O)
    here is my code
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'adding Line
    oInvoice.Lines.Add
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If

    Indika,
    Only set your base types...
    (not items & description)
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line (to fill the second item line)
    ' the 1st line item is there by default
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'DO NOT Add THIS line
    ' (only if you want to add a 3rd line item)
    '''oInvoice.Lines.Add -> Don't add this
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If
    remember to add :
    oInvoice.CardCode = "your BP"
    oInvoice.DocDueDate = Now
    oInvoiceDoc.CardCode = txtDOCBPCode.Text

Maybe you are looking for