Skip to Main Content

Chinese

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Generate incorrect header sum amount through API: ar_invoice_api_pub.create_single_invoice

LUOHUA LUOHUANov 20 2017

Hi

  In my project i create credit memo(AR transaction) with API ar_invoice_api_pub.create_single_invoice to create credit memo and then arp_etax_services_pkg.calculate_tax to recalculate line amount with tax.  Credit memo created and line amount ok with tax,But sum amount in header is incorrect.(R12.2.5)

For example:

---------line------------------

l_trx_lines_tbl(1).unit_selling_price :=  -1 * 100;

----------tax--------------

l_trx_lines_tbl(2).amount := -17

----created-----

line_amount = -100;

tax_amount = -17;

line_sum_amount = -100;

header_line_amount = -100;

header_tax_amount = -17;

header_sum   = -117;

Click un_completed and then completed header_sum_amount will re-calculate to correct one. So any step i missed in my code?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2017
Added on Nov 20 2017
0 comments
212 views