Want to create a/P invoice of closed Grpo
Hi SAP Community Network Forums
Please help me out
a Grpo of 100 Quantity was closed by mistake and I want to create A/p of this GRPO and when I create A/p system gave message want 100 serial number.
Please tell me solution how can I create a A/p Invoice and tell me that A/p will effect In-stock quantity ?
Hi.......
As your GRPO is closed you can not reopen and post AP Invoice. But if you further add AP invoice stock gets in double. So you can manage this either by issuing the inventory and make a new GRN with AP invoice based on. Or you may further create Service AP invoice for Closed GRN where Stock effect can not go twice........
Regards,
Rahul
Similar Messages
-
Deemed exports not getting created when excise invoice generated in backgro
Hi guys,
when i create an excise invoice in background .and try to create ARE-3 in J1IA301.I am getting a error (081091004/2009 excise invoice is meant for normal invoice).
when i create excise invoice manually and click on goto - utilization . The excise invoice type will be local .If i click on the pencil tab it will change to EXPORT and we can see DEEMED in blue color after this i will save and create ARE-3. ARE-3 gets generated.
while creating excise invoice in background the EXCISE INVOICE TYPE in J1IIN will be LOCAL and we will not be able to change after this when i try to create ARE - 3 IAM GETTINGTHE ERROR..
Please help me out of this..
As my client wants to create the excise invoice in background while billing document is created..
Regards,
Shivdeep BHi,
If you want to create excsie invoice in back ground while creating billing document for Deemed exports.
Please follow the navigation as mentioned below.
SPRO - Logistic General - Tax on goods movement - India - Business transaction - Out going Excise invoice - Maintain default Excise group and series group.
Here please maintain you Plant, Excise group & Series group for deemed exports sales area combination and export type as Deemed exports in *details screen*. Now system will create excise invoice for deemed exports in background while creating the billing document go to display excise invoice and see the utilization you get Deemed exports.
This will do for you. -
Unable to create per forma invoice w.r.t to Free of charge delivery
Hi Experts,
I create a free of charge delivery order type ZFD (copy from order type FD). I create a delivery (VL01N) with reference to free of charge delivery order & done PGI. But when i want to create Per forma invoice of this delivery with reference to delivery number, i am not able to do this and got message No billing documents were generated. See log Message no. VF032.
Please help me regarding for the same.
Best Regards,
ShatrughanHi,
Error Log
0004000025 000010 The item is not relevant for billing
Technical data
Tech. data details
Client 100
Group Number
Sales Document Number 0004000025
Item Number of the SD Document 000010
Schedule Line Number 0044
Counter in Control Tables 00
Message Identification VF
System Message Number 044
Output Type I
Message Variable 01
Message Variable 02
Message Variable 03
Message Variable 04
Group Type F
Regards,
Shatrughan -
How to create a single invoice from several delivers? (BAPI for VF01)
Hi all,
I want to create a single invoice from several delivers, just like VF01.
I just tried BAPI_BILLINGDOC_CREATEMULTIPLE, and the problem is that this bapi creates an invoice for each deliver, and i need to create only one invoice.
Can you tell me how to do it?Here you go....
wa_vbsk_dummy-smart = 'F'.
wa_vbsk_dummy-ernam = sy-uname.
v_posting = 'E'.
v_datum = sy-datum.
IT_KOMFK willhave delivery numbers, billing doc type date etc.
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
invoice_date = v_datum
vbsk_i = wa_vbsk
with_posting = v_posting
id_no_enqueue = c_true
IMPORTING
vbsk_e = wa_vbsk
TABLES
xkomfk = it_xkomfk
xkomv = it_xkomv
xthead = it_xthead
xvbfs = it_xvbfs
xvbpa = it_xvbpa
xvbrk = it_xvbrk
xvbrp = it_xvbrp
xvbss = it_xvbss.
Cheers
Ravish -
Multiple Excise Invoice for Single GRPO
Hello All
How do we create multiple excise invoices from a single GRPO document.
Thanks
Santhosh.KHi
As per the scenario you mentioned.
You can't create multiple Excise Invoice against Single GRPO. And as per the law of excise also there is no way to do like this.
Gate Pass made against delivery when some vendor send the item to the client. Time quantity and rate with the duties are mentioned in that.
similarly when client received the material all the above should be there in the gate pass.
Ashish Gupte -
I want to create a query to send auto email to customer while adding AR Invoice
Hi
Friends
I want to create a query to send auto email to customer while adding AR Invoice in SAP Business One 8.82.
using the following fields & Text like
email ID from - BP Master
' Dear Sir '
Invoice is generated on the name --- BPName
Quantity --- 22.5 Tones
Invoice Value --- 85,000/-
date & Time --- 12-07-2014 : 16:18
Thanks & Regards
XXXXXXXXXX
Please tell me how to set this in SAP B1.
SrinivasI want to to send email to customer automatically the current invoice details while adding AR Invoice in SAP Business One 8.82.
using the following fields & Text like
email ID from - BP Master
' Dear Sir '
Invoice is generated on the name --- BPName
Quantity --- 22.5 Tones
Invoice Value --- 85,000/-
date & Time --- 12-07-2014 : 16:18
Thanks & Regards
XXXXXXXXXX
Please tell me how to write query in stored procedure to send email automatically.
Srinivas -
I want to cancel the proforma invoice created in STO PROCESS
hi experts
i want to cancel the proforma invoice created in STO PROCESS (accounting document is not generate)
i tried but system do not allow
thanks in advanceHi
Hanumant
U can cancel the commercial Inovice, for proforma invoice we have to complete the same by using Tcode VA02---- billing doc. -
Complete. If u have created excise invoice please cancel the excise invoice first and then complete the proforma invoice. Once u complete the proforma inovice check the document flow and see the status it will be cancelled.
Hope this will help you.
Thx. -
Want to Create accounting for Payable invoices
Dear All,
Please guide me, How can i create accounting for specific invoice. but i don't want to select standard solution means to select the create accounting for invoice, i just want to post entries in ap_ae_headers_all and ap_ae_lines_all and ap_accounting_events_all.Please waiting for the kind response.
Thanks & RegardsOpen your AP invoice > Click on Actions button on the bottom left hand side > Validate it first > click on actions button again > then select create accounting in those options.
This accounts only that particular invoice. It is called online accounting, if i am not wrong.
Regards,
Srini -
I want to create pdf automatically in my program - my program specifies name
In my application - ex: print invoices. I want to open the adobe pdf printer name the document Inv: 123456.pdf and
put in the folder C:\Invoices. So, my program will create all the invoices for today and they will be in the folder C:\Invoices.
I want to do this without any dialog, no user interaction, etc
I would also do the same for purchase orders, bills of lading, etc
Is this possible.? what product / feature do I need
Is it done by registry entriesInstall multiple instances of the PDF Printer. Properties of the printer include whether to prompt for save (no) and where to save files.
Give each instance of the printer a unique name; Invoice Printer, PO Printer and set their Save To locations appropriately.
Your required interaction will be ctrl+p (or File > Print) -
Invoice Status Closed when it should be Open
I have a document (AR Invoice) just created but the status is closed. There is no reason to be closed. The balanced due is the same as Total in the document. There is no applied transactions. it was not based in a another document. I have looked in SAP notes but not found any. Any help in these situation ?
Hi,
Please check Note No. : 1096287 regarding the issue mentioned by you. Check the additional code under the SP_TransactionNotification.
Request you to kindly upgrade the copy of the database to a higher patch level and check whether the issue is still reproduced on the upgraded database by entering a few invoices.
Kind Regards,
Jitin
SAP Business One Forum Team -
Error in creating Depot excise invoice.(J1IJ) 4F:550
Hi Gurus.
I have created.
Depot Sales Order->Depot Delivery.
Now i am creating Depot excise invoice in J1IJ.i am getting error when i enter delivery no, excide group & Series group
error:-
4F:550 TDL TD12 E3 E3
TDL-company code
TD12- Plant(Depot)
E3-Excise group
E3-series group.
NOTE:- we dont want to configure default excise group & series group config.
Reg.
Amol
Edited by: Amol Tamhane on Mar 16, 2010 3:17 PMHi all,
I got the Solution.
Tell your ABAPER to find out Object in "SAPMJ1IJ" PROGRAM
source code of MJ1IJF01.
in my case the object was "J_1IDEP_S1"
1) check whether that object is assigned to user or not(from Basis guy)
2)Check whether values of following are assigned in that object or not(Basis guy)
Activity
Company Code
Plant
Excise group
Excise document series group
take the help of Basis guy to Resolve it.
Reg,
Amol -
Problem creating A/R Invoice with Withholding tax data via DI-Server
Hi!
Using the following SOAP Request to the DI-Server, I wanted to create an A/R Invoice having a withholding tax data but it always respond with an error saying
Total taxable amount of all rows exceeds the base amount [INV5.TaxbleAmnt][line: 1]
SOAP Request:
<?xml version="1.0" encoding="UTF-16"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header>
<SessionID>203A3C01-7808-4638-8322-2307DF3C0F8F</SessionID>
</env:Header>
<env:Body>
<dis:Add xmlns:dis="http://www.sap.com/SBO/DIS">
<Service>InvoicesService</Service>
<Document>
<DocType>dDocument_Items</DocType>
<HandWritten>tNO</HandWritten>
<DocDate>2010-02-08</DocDate>
<DocDueDate>2010-02-08</DocDueDate>
<TaxDate>2010-02-08</TaxDate>
<VatDate>2010-02-08</VatDate>
<CardCode>NPI</CardCode>
<Comments>test di-server soap message 1</Comments>
<DocumentLines>
<DocumentLine>
<ItemCode>TRC</ItemCode>
<Quantity>1</Quantity>
<Price>1000</Price>
<TaxCode>OVAT</TaxCode>
<VatGroup>OVAT</VatGroup>
<TaxLiable>tYES</TaxLiable>
<WTLiable>tYES</WTLiable>
</DocumentLine>
</DocumentLines>
<WithholdingTaxDataCollection>
<WithholdingTaxData>
<WTCode>C140</WTCode>
<TaxableAmount>1000</TaxableAmount>
<WTAmount>100</WTAmount>
</WithholdingTaxData>
</WithholdingTaxDataCollection>
</Document>
</dis:Add>
</env:Body>
</env:Envelope>
OVAT rate above is 10%.
The withholding tax code C140 is setup as
rate=10,
Category=Payment,
Base Type=Net,
% Base Amount = 100,
Rounding Type = Commercial Values.
We are using the New Zealand/Australia localization in SAP B1 2007A PL49.
The above code can be successful only if I set the <WithholdingTaxDataCollection> node to:
<WithholdingTaxDataCollection>
<WithholdingTaxData>
<WTCode>C140</WTCode>
<TaxableAmount>0</TaxableAmount>
<WTAmount>100</WTAmount>
</WithholdingTaxData>
</WithholdingTaxDataCollection>
setting TaxableAmount equal to 0 which is not desired.
Can anyone extend me some help, please?
Thanks.Albert,
Did you try adding this via the DI API and not the DI Server? Do you get the same error? Please see this SAP Note ...
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=0001303019
Eddy -
Unable to Change Withholding Tax Base Amount while creating Service AP Invoice through DI API?
Dear All,
I am trying to create Service AP Invoice through DI API.
If I post the document without changing SAPPurchaseInvoice.WithholdingTaxData.TaxableAmount the dount ocument is created in SAP without any problem.
But if I change amount in above field then DI API throws error Unbalanced Transaction.
If I post same document in SAP with changed base amount it got posted in SAP without any Issue.
Where I am doing wrong?
please guide.
Using:
SAP B1 version 9 Patch Level 11
Location : India.
Thanks.Hi ,
maybe you can find solution to these note 1812344
1846344 - Overview Note for SAP Business One 8.82 PL12
Symptom
This SAP Note contains collective information related to upgrades to SAP Business One 8.82 Patch Level 12 (B1 8.82 PL12) from previous SAP Business One releases.
In order to receive information about delivered patches via email or RSS, please use the upper right subscription options on http://service.sap.com/~sapidp/011000358700001458732008E
Solution
Patch installation options:
SAP Business One 8.82 PL12 can be installed directly on previous patches of SAP Business One 8.82
You can upgrade your SAP Business One to 8.82PL12 from all patches of the following versions:8.81; 8.8; 2007 A SP01; 2007 A SP00; 2007 B SP00; 2005 A SP01; 2005 B
Patch content:
SAP Business One 8.82 PL12 includes all corrections from previous patches for releases 8.82, 8.81, 8.8, 2007, and 2005.
For details about the contained corrections, please see the SAP Notes listed in the References section.
Notes: SAP Business One 8.82 PL12 contains B1if version 1.17.5
Patch download:
Open http://service.sap.com/sbo-swcenter -> SAP Business One Products -> Updates -> SAP Business One 8.8 -> SAP BUSINESS ONE 8.82 -> Comprised Software Component Versions -> SAP BUSINESS ONE 8.82 -> Win32 -> Downloads tab
Header Data
Released On
02.05.2013 02:34:18
Release Status
Released for Customer
Component
SBO-BC-UPG Upgrade
Priority
Recommendations/additional info
Category
Upgrade information
References
This document refers to:
SAP Business One Notes
1482452
IN_Wrong tax amount was created for some items in the invoice with Excisable BOM item involves
1650289
Printing Inventory Posting List for huge amount of data
1678528
Withholding amount in the first row is zeroed.
1754529
Error Message When Running Pick and Pack Manager
1756263
Open Items List shuts down on out of memory
1757641
Year-end closing
1757690
SEPA File Formats - New Pain Versions
1757898
Incoming Bank File Format
1757904
Outgoing Bank File Format
1762860
Incorrect weight calculation when Automatic Availability Check is on
1770690
Pro Forma Invoice
1776948
Calendar columns are wrong when working with Group View
1780460
OINM column description is not translated
1780486
UI_System crash when you set extreme value of double type to DataTable column
1788256
Incorrect User-Defined Field displayed in a Stock Transfer Request
1788372
ZH: 'Unacceptable Field' when export document to word
1788818
RU loc: No freight in the Tax Invoice layout
1790404
Cash Flow Inconsistency when Canceling Payment
1791295
B1info property of UI API AddonsInstaller object returns NULL value
1791416
Adding a new item to BoM is slow
1794111
Text is overlapping in specific localization
1795595
Change log for item group shows current system date in all the "Created" fields
1797292
Queries in alerts should support more query results
1800055
B1if_ Line break issue in inbound retrieval using JDBC
1802580
Add Journal Voucher to General Ledger report
1803586
Not realized payment is exported via Payment Engine using 'SAPBPDEOPBT_DTAUS' file format
1803751
Period indicator of document series can be changed although it has been used
1804340
LOC_BR_Cannot update Nota Fiscal Model
1805554
G/L Account displayed in a wrong position when unticking the checkbox "Account with Balance of Zero"
1806576
Payment Cannot Be Reconciled Internally
1807611
Cannot update UDF in Distribution Rule used in transactions
1807654
Serial No./Batch inconsistency by canceled Inventory Transfer
1808694
BR: Business Partner Code cannot be updated with CNPJ CPF error
1809398
CR_Cannot Display Related Multi-Value Parameters
1809758
Arrow key not work for Batch/Serial Number Transactions Report
1810099
Tax Amount is Recalculated Even if Tax Code Is Not Changed
1811270
Upgrade fails on Serial And Batches object with error code -10
1811846
Cannot run Exchange Rate Differences when multi branch is activated
1812344
Withholding Tax Amount Is Not Updated in Payment Once Witholding Tax Code Is Changed in Document through DI API
1812740
DI:"Operation Code" show wrong value when add "A/P Tax Invoice" based on "A/P Invoice"
1813029
US_Vendor address on 1099 Summary by Form/Box Report is not updated according to the latest Invoice
1813835
Wrong amounts of Goods Return in Open Item List
1814207
Preliminary page prints setting does not keep after upgrade
1814860
Value "Zero" cannot be imported to "Minimum Inventory Level" field via Excel file
1815535
RFQ: Web front end not displayed in supplier language
1815810
GT: Adding Incoming Payment for Some Cash Flow Relevant Accounts Fails
1816191
BR:System Crashes While Working with Tax Code Determination Window
1816611
CR_Crystal Report Displayed Incorrectly Afte -
Create PO related invoice - before goods receipt/confirmation
Hi all, sorry to ask this very basic question as our system is not working at the moment and I cannot test this out and have very little experience creating PO related invoice in SRM.
First of all, we are operating on SRM 4. I would like to find out whether it is possible to create an invoice with reference to a PO before we create the goods receipt.
The reason why I ask this question is because I was reading up on the IMS functionality that is available from SRM 5 onwards and it listed the functionalities that are available that weren't in the earlier releases. One point mentioned was on the ability to receipt invoice prior to confirmation of goods receipt. I also read from the help document that we can enter invoice with reference to PO for which confirmations have already been entered or for which no confirmations are expected. There is no mention on situations when the confirmation is not done yet.
Appreciate your advice on the above.
Cheers!
SFSorry all, I think I am confusing everyone. May be it's because the question is too basic. There is nothing fancy with the PO here. It's a PO initiated from SRM with goods receipt and invoice receipt indicator turned on BUT NOT GR-BASED invoice indicator. I just want to know whether it is possible for me to create an invoice with reference to the PO in SRM if I have not yer done the goods receipt. If I do this in ECC/R3, the invoice would have been blocked (if tolerance allowed).
Even though I know that this should be possible in SRM but because some statements in the SAP help documentation sort of implies that it might not be the case and I do not want to assume it. Plus I have not worked with creating PO related invoices in SRM before and so just want to confirm that it is working. It doesn't help when I was trying to test this scenario in our own system that the system outputs a message relating to backend communication not working.
However, I finally got a chance to test this in another client' site and found that it is possible to create an invoice with reference to a PO even before the goods receipt is posted. Though I have yet to find out why I am getting a different error in our own system, I am happy for now that it is working.
Thanks all for your reply!
Regards
SF -
How to create A/R Invoice having Withholding Tax Data using DI-Server?
<P>Hi Experts,</P>
<P>I want to create an A/R Invoice having a Withholding Tax line
through DI-Server (SAP Business One 2005B PL43) using the following
SOAP Request (Method 1 and Method 2) but both generated an 'Invalid
XML' error response. If I exclude the WithholdingTaxData tag (or the
WithholdingTaxDataCollection tag) from the SOAP request, the invoice
is successfully created but without the Withholding Tax entry in the
table INV5.</P>
<P>I've had success in the past using the "<SerialNumbers>"
and "<DocumentsAdditionalExpenses>".
</P>
<P>In the SOAP Requests below, what is wrong with the usage of
"<WithholdingTaxData>" or
"<WithholdingTaxDataCollection>"?</P>
<P>Is it possible at all to create a document having Withholding Tax
entries using the DI-Server SOAP Request?</P>
<P>Thank you very much.</P>
<P><BR><BR>
</P>
<P>Method 1:</P>
<P>SOAP REQUEST (Using AddObject command):</P>
<P><?xml version="1.0" encoding="UTF-16"?><BR><env:Envelope
xmlns:env="<A HREF="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</A>"><BR> <env:Header><BR> <SessionID>08C5BB21-34E3-468E-952F-EEC1CBE19272</SessionID><BR> </env:Header><BR> <env:Body><BR> <dis:AddObject
xmlns:dis="<A HREF="http://www.sap.com/SBO/DIS">http://www.sap.com/SBO/DIS</A>"><BR> <BOM><BO><BR> <AdmInfo><BR> <Object>oInvoices</Object><BR> </AdmInfo><BR> <Documents><BR> <row><BR> <DocDate>20090520</DocDate><BR> <DocDueDate>20090619</DocDueDate><BR> <TaxDate>20090520</TaxDate><BR> <DocCurrency>EUR</DocCurrency><BR> <CardCode>MULTICURRBP</CardCode><BR> <ContactPersonCode>0</ContactPersonCode><BR> <Comments>Withholding
Tax
Liable</Comments><BR> <SalesPersonCode>1</SalesPersonCode><BR> </row><BR> </Documents><BR> <Document_Lines><BR> <row><BR> <ItemCode>MON001</ItemCode><BR> <Quantity>1.00</Quantity><BR> <WarehouseCode>cag01</WarehouseCode><BR> <UnitPrice>65.57</UnitPrice><BR> <Currency>EUR</Currency><BR> <VatGroup>SO</VatGroup><BR> <WTLiable>tYES</WTLiable><BR> </row><BR> </Document_Lines><BR> <WithholdingTaxData><BR> <row><BR> <WTCode>S<WTCode><BR> <WTAmountFC>14.43<WTAmountFC><BR> <TaxableAmountFC>65.57<TaxableAmountFC><BR> <GLAccount>207032<GLAccount><BR> </row><BR> </WithholdingTaxData><BR> </BO></BOM><BR> </dis:AddObject><BR> </env:Body><BR></env:Envelope></P>
<P><BR><BR>
</P>
<P>SOAP RESPONSE (Using AddObject command):</P>
<P><?xml version="1.0"?><BR><env:Envelope
xmlns:env="<A HREF="http://www.w3.org/2003/05/soap-envelope">http://www.w3.org/2003/05/soap-envelope</A>"><BR> <env:Body><BR> <env:Fault><BR> <env:Code><env:Value>env:Sender</env:Value></env:Code><BR> <env:Reason><env:Text
xml:lang="en">Invalid
XML</env:Text></env:Reason><BR> <env:Detail><BR> <ErrorList><BR> <Error>System
Id = 18023032, Line Number = 1, Column Number = 1064, Description =
Expected end of tag
'GLAccount'</Error><BR> </ErrorList><BR> </env:Detail><BR> </env:Fault><BR> </env:Body><BR></env:Envelope></P>
<P><BR><BR>
</P>
<P>Method 2:</P>
<P>SOAP REQUEST (Using Add Service command):</P>
<P><?xml version="1.0" encoding="UTF-16"?><BR><env:Envelope
xmlns:env="<A HREF="http://www.w3.org/2003/05/soap-envelope">http://www.w3.org/2003/05/soap-envelope</A>"><BR> <env:Header><BR>
<SessionID>1F6C7E11-CC5B-A5F3-0206-D1F4A8B9D84A</SessionID><BR> </env:Header><BR> <env:Body><BR> <dis:Add
xmlns:dis="<A HREF="http://www.sap.com/SBO/DIS">http://www.sap.com/SBO/DIS</A>"><BR> <Service>InvoicesService</Service><BR> <Document><BR> <DocDate>2009-05-20</DocDate><BR> <DocDueDate>2009-06-19</DocDueDate><BR> <TaxDate>2009-05-20</TaxDate><BR> <DocCurrency>EUR</DocCurrency><BR> <CardCode>MULTICURRBP</CardCode><BR> <ContactPersonCode>0</ContactPersonCode><BR> <Comments>Withholding
Tax
Liable</Comments><BR> <SalesPersonCode>1</SalesPersonCode><BR> <DocumentLines><BR> <DocumentLine><BR> <ItemCode>MON001</ItemCode><BR> <Quantity>1.00</Quantity><BR> <WarehouseCode>cag01</WarehouseCode><BR> <UnitPrice>65.57</UnitPrice><BR> <Currency>EUR</Currency><BR> <VatGroup>SO</VatGroup><BR> <WTLiable>tYES</WTLiable><BR> </DocumentLine><BR> </DocumentLines><BR> <WithholdingTaxDataCollection><BR> <WithholdingTaxData><BR> <WTCode>S<WTCode><BR> <WTAmountFC>14.43<WTAmountFC><BR> <TaxableAmountFC>65.57<TaxableAmountFC><BR> <GLAccount>207032<GLAccount><BR> </WithholdingTaxData><BR> </WithholdingTaxDataCollection><BR> </Document><BR> </dis:Add><BR> </env:Body><BR></env:Envelope></P>
<P><BR><BR>
</P>
<P>SOAP RESPONSE (Using Add Service command):</P>
<P><?xml version="1.0"?><BR><env:Envelope
xmlns:env="<A HREF="http://www.w3.org/2003/05/soap-envelope">http://www.w3.org/2003/05/soap-envelope</A>"><BR> <env:Body><BR> <env:Fault><BR> <env:Code><env:Value>env:Sender</env:Value></env:Code><BR> <env:Reason><env:Text
xml:lang="en">Invalid
XML</env:Text></env:Reason><BR> <env:Detail><BR> <ErrorList><BR> <Error>System
Id = 134112056, Line Number = 1, Column Number = 1076, Description =
Expected end of tag
'GLAccount'</Error><BR> </ErrorList><BR> </env:Detail><BR> </env:Fault><BR> </env:Body><BR></env:Envelope></P><P STYLE="margin-bottom: 0in">Hi Experts,</P>
<P STYLE="margin-bottom: 0in">My apologies for the truncated message.
Here's the full one.</P>
<P STYLE="margin-bottom: 0in">I want to create an A/R Invoice having
a Withholding Tax line through DI-Server (SAP Business One 2005B
PL43) using the following SOAP Request (Method 1 and Method 2) but
both generated an 'Invalid XML' error response. If I exclude the
WithholdingTaxData tag (or the WithholdingTaxDataCollection tag) from
the SOAP request, the invoice is successfully created but without the
Withholding Tax entry in the table INV5.</P>
<P STYLE="margin-bottom: 0in">I've had success in the past using the
"<SerialNumbers>" and
"<DocumentsAdditionalExpenses>".
</P>
<P STYLE="margin-bottom: 0in">In the SOAP Requests below, what is
wrong with the usage of "<WithholdingTaxData>" or
"<WithholdingTaxDataCollection>"?</P>
<P STYLE="margin-bottom: 0in">Is it possible at all to create a
document having Withholding Tax entries using the DI-Server SOAP
Request?</P>
<P STYLE="margin-bottom: 0in">Thank you very much.</P>
<BR>
<P STYLE="margin-bottom: 0in">Method 1:</P>
<BR>
<P STYLE="margin-bottom: 0in">SOAP REQUEST (Using AddObject command):</P>
<P STYLE="margin-bottom: 0in"><?xml version="1.0"
encoding="UTF-16"?></P>
<P STYLE="margin-bottom: 0in"><env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"></P>
<P STYLE="margin-bottom: 0in"> <env:Header></P>
<P STYLE="margin-bottom: 0in"> <SessionID>08C5BB21-34E3-468E-952F-EEC1CBE19272</SessionID></P>
<P STYLE="margin-bottom: 0in"> </env:Header></P>
<P STYLE="margin-bottom: 0in"> <env:Body></P>
<P STYLE="margin-bottom: 0in"> <dis:AddObject
xmlns:dis="http://www.sap.com/SBO/DIS"></P>
<P STYLE="margin-bottom: 0in"> <BOM><BO></P>
<P STYLE="margin-bottom: 0in"> <AdmInfo></P>
<P STYLE="margin-bottom: 0in"> <Object>oInvoices</Object></P>
<P STYLE="margin-bottom: 0in"> </AdmInfo></P>
<P STYLE="margin-bottom: 0in"> <Documents></P>
<P STYLE="margin-bottom: 0in"> <row></P>
<P STYLE="margin-bottom: 0in"> <DocDate>20090520</DocDate></P>
<P STYLE="margin-bottom: 0in"> <DocDueDate>20090619</DocDueDate></P>
<P STYLE="margin-bottom: 0in"> <TaxDate>20090520</TaxDate></P>
<P STYLE="margin-bottom: 0in"> <DocCurrency>EUR</DocCurrency></P>
<P STYLE="margin-bottom: 0in"> <CardCode>MULTICURRBP</CardCode></P>
<P STYLE="margin-bottom: 0in"> <ContactPersonCode>0</ContactPersonCode></P>
<P STYLE="margin-bottom: 0in"> <Comments>Withholding Tax
Liable</Comments></P>
<P STYLE="margin-bottom: 0in"> <SalesPersonCode>1</SalesPersonCode></P>
<P STYLE="margin-bottom: 0in"> </row></P>
<P STYLE="margin-bottom: 0in"> </Documents></P>
<P STYLE="margin-bottom: 0in"> <Document_Lines></P>
<P STYLE="margin-bottom: 0in"> <row></P>
<P STYLE="margin-bottom: 0in"> <ItemCode>MON001</ItemCode></P>
<P STYLE="margin-bottom: 0in"> <Quantity>1.00</Quantity></P>
<P STYLE="margin-bottom: 0in"> <WarehouseCode>cag01</WarehouseCode></P>
<P STYLE="margin-bottom: 0in"> <UnitPrice>65.57</UnitPrice></P>
<P STYLE="margin-bottom: 0in"> <Currency>EUR</Currency></P>
<P STYLE="margin-bottom: 0in"> <VatGroup>SO</VatGroup></P>
<P STYLE="margin-bottom: 0in"> <WTLiable>tYES</WTLiable></P>
<P STYLE="margin-bottom: 0in"> </row></P>
<P STYLE="margin-bottom: 0in"> </Document_Lines></P>
<P STYLE="margin-bottom: 0in"> <WithholdingTaxData></P>
<P STYLE="margin-bottom: 0in"> <row></P>
<P STYLE="margin-bottom: 0in"> <WTCode>S<WTCode></P>
<P STYLE="margin-bottom: 0in"> <WTAmountFC>14.43<WTAmountFC></P>
<P STYLE="margin-bottom: 0in"> <TaxableAmountFC>65.57<TaxableAmountFC></P>
<P STYLE="margin-bottom: 0in"> <GLAccount>207032<GLAccount></P>
<P STYLE="margin-bottom: 0in"> </row></P>
<P STYLE="margin-bottom: 0in"> </WithholdingTaxData></P>
<P STYLE="margin-bottom: 0in"> </BO></BOM></P>
<P STYLE="margin-bottom: 0in"> </dis:AddObject></P>
<P STYLE="margin-bottom: 0in"> </env:Body></P>
<P STYLE="margin-bottom: 0in"></env:Envelope></P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in">SOAP RESPONSE (Using AddObject
command):</P>
<P STYLE="margin-bottom: 0in"><?xml version="1.0"?></P>
<P STYLE="margin-bottom: 0in"><env:Envelope
xmlns:env="http://www.w3.org/2003/05/soap-envelope"></P>
<P STYLE="margin-bottom: 0in"> <env:Body></P>
<P STYLE="margin-bottom: 0in"> <env:Fault></P>
<P STYLE="margin-bottom: 0in"> <env:Code><env:Value>env:Sender</env:Value></env:Code></P>
<P STYLE="margin-bottom: 0in"> <env:Reason><env:Text
xml:lang="en">Invalid XML</env:Text></env:Reason></P>
<P STYLE="margin-bottom: 0in"> <env:Detail></P>
<P STYLE="margin-bottom: 0in"> <ErrorList></P>
<P STYLE="margin-bottom: 0in"> <Error>System Id = 18023032,
Line Number = 1, Column Number = 1064, Description = Expected end of
tag 'GLAccount'</Error></P>
<P STYLE="margin-bottom: 0in"> </ErrorList></P>
<P STYLE="margin-bottom: 0in"> </env:Detail></P>
<P STYLE="margin-bottom: 0in"> </env:Fault></P>
<P STYLE="margin-bottom: 0in"> </env:Body></P>
<P STYLE="margin-bottom: 0in"></env:Envelope></P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in">Method 2:</P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in">SOAP REQUEST (Using Add Service
command):</P>
<P STYLE="margin-bottom: 0in"><?xml version="1.0"
encoding="UTF-16"?></P>
<P STYLE="margin-bottom: 0in"><env:Envelope
xmlns:env="http://www.w3.org/2003/05/soap-envelope"></P>
<P STYLE="margin-bottom: 0in"> <env:Header></P>
<P STYLE="margin-bottom: 0in">
<SessionID>1F6C7E11-CC5B-A5F3-0206-D1F4A8B9D84A</SessionID></P>
<P STYLE="margin-bottom: 0in"> </env:Header></P>
<P STYLE="margin-bottom: 0in"> <env:Body></P>
<P STYLE="margin-bottom: 0in"> <dis:Add
xmlns:dis="http://www.sap.com/SBO/DIS"></P>
<P STYLE="margin-bottom: 0in"> <Service>InvoicesService</Service></P>
<P STYLE="margin-bottom: 0in"> <Document></P>
<P STYLE="margin-bottom: 0in"> <DocDate>2009-05-20</DocDate></P>
<P STYLE="margin-bottom: 0in"> <DocDueDate>2009-06-19</DocDueDate></P>
<P STYLE="margin-bottom: 0in"> <TaxDate>2009-05-20</TaxDate></P>
<P STYLE="margin-bottom: 0in"> <DocCurrency>EUR</DocCurrency></P>
<P STYLE="margin-bottom: 0in"> <CardCode>MULTICURRBP</CardCode></P>
<P STYLE="margin-bottom: 0in"> <ContactPersonCode>0</ContactPersonCode></P>
<P STYLE="margin-bottom: 0in"> <Comments>Withholding Tax
Liable</Comments></P>
<P STYLE="margin-bottom: 0in"> <SalesPersonCode>1</SalesPersonCode></P>
<P STYLE="margin-bottom: 0in"> <DocumentLines></P>
<P STYLE="margin-bottom: 0in"> <DocumentLine></P>
<P STYLE="margin-bottom: 0in"> <ItemCode>MON001</ItemCode></P>
<P STYLE="margin-bottom: 0in"> <Quantity>1.00</Quantity></P>
<P STYLE="margin-bottom: 0in"> <WarehouseCode>cag01</WarehouseCode></P>
<P STYLE="margin-bottom: 0in"> <UnitPrice>65.57</UnitPrice></P>
<P STYLE="margin-bottom: 0in"> <Currency>EUR</Currency></P>
<P STYLE="margin-bottom: 0in"> <VatGroup>SO</VatGroup></P>
<P STYLE="margin-bottom: 0in"> <WTLiable>tYES</WTLiable></P>
<P STYLE="margin-bottom: 0in"> </DocumentLine></P>
<P STYLE="margin-bottom: 0in"> </DocumentLines></P>
<P STYLE="margin-bottom: 0in"> <WithholdingTaxDataCollection></P>
<P STYLE="margin-bottom: 0in"> <WithholdingTaxData></P>
<P STYLE="margin-bottom: 0in"> <WTCode>S<WTCode></P>
<P STYLE="margin-bottom: 0in"> <WTAmountFC>14.43<WTAmountFC></P>
<P STYLE="margin-bottom: 0in"> <TaxableAmountFC>65.57<TaxableAmountFC></P>
<P STYLE="margin-bottom: 0in"> <GLAccount>207032<GLAccount></P>
<P STYLE="margin-bottom: 0in"> </WithholdingTaxData></P>
<P STYLE="margin-bottom: 0in"> </WithholdingTaxDataCollection></P>
<P STYLE="margin-bottom: 0in"> </Document></P>
<P STYLE="margin-bottom: 0in"> </dis:Add></P>
<P STYLE="margin-bottom: 0in"> </env:Body></P>
<P STYLE="margin-bottom: 0in"></env:Envelope></P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in">SOAP RESPONSE (Using Add Service
command):</P>
<P STYLE="margin-bottom: 0in"><?xml version="1.0"?></P>
<P STYLE="margin-bottom: 0in"><env:Envelope
xmlns:env="http://www.w3.org/2003/05/soap-envelope"></P>
<P STYLE="margin-bottom: 0in"> <env:Body></P>
<P STYLE="margin-bottom: 0in"> <env:Fault></P>
<P STYLE="margin-bottom: 0in"> <env:Code><env:Value>env:Sender</env:Value></env:Code></P>
<P STYLE="margin-bottom: 0in"> <env:Reason><env:Text
xml:lang="en">Invalid XML</env:Text></env:Reason></P>
<P STYLE="margin-bottom: 0in"> <env:Detail></P>
<P STYLE="margin-bottom: 0in"> <ErrorList></P>
<P STYLE="margin-bottom: 0in"> <Error>System Id =
134112056, Line Number = 1, Column Number = 1076, Description =
Expected end of tag 'GLAccount'</Error></P>
<P STYLE="margin-bottom: 0in"> </ErrorList></P>
<P STYLE="margin-bottom: 0in"> </env:Detail></P>
<P STYLE="margin-bottom: 0in"> </env:Fault></P>
<P STYLE="margin-bottom: 0in"> </env:Body></P>
<P STYLE="margin-bottom: 0in"></env:Envelope></P>
Maybe you are looking for
-
How can I sync my notepad with google account?
I got an iPhone 3 as a hand-me-down and at first when I was setting up my email accounts on it I had the option of having mail, calendar and notes shared with my Gmail account. Recently the calendar and notes options are not offered any more, for re
-
ITunes 10.1 (54) no longer brings up app store or any store.
All of a sudden I can no longer access the app store or any store in iTunes. I have a very plain vanilla iMac I have been using for a year new, bought it new. Never had a problem with it. This just started yesterday. I am running iTunes 10.1 (54). It
-
Need help for Conversion Function in Oracle
Hi, Can Any One help me Please. I need a Oracle conversion script for converting from decimal to hex. and decimal to datetime. Thanks In Advance.
-
Accidentally deleted a purchased song
I bought a album yesteday, and me being an idiot I accidentally deleted a song off it today. When I go onto iTunes the rest of the album says play next to it but the deleted song just says purchased and when I click on it it just plays the sample of
-
Single Bubble does not show in bubble chart
It would be great if there were a separate forum for Flex Charting related discussion. I noticed that you have only one row of data in your dataProvider for a BubbleChart (and hence only one bubble), the chart shows up empty. I believe this is a bug.