{"id":453,"date":"2011-02-22T14:41:10","date_gmt":"2011-02-22T12:41:10","guid":{"rendered":"http:\/\/oracle.malin.pl\/?p=453"},"modified":"2011-04-27T08:39:57","modified_gmt":"2011-04-27T06:39:57","slug":"api-naleznosci","status":"publish","type":"post","link":"https:\/\/oracle.malin.pl\/?p=453","title":{"rendered":"API &#8211; nale\u017cno\u015bci"},"content":{"rendered":"<p>http:\/\/www.oracleappshub.com\/accounts-receivable\/ar-invoice-api-application-program-interface\/<br \/>\n<!--more--><br \/>\nHave you joined Hub Community Network Forums of OracleaApps professionals? Don&#8217;t wait. Do it today<\/p>\n<p>AR Invoice API allows users to create an invoice using simple calls to PL\/SQL functions. The Invoice Creation API is another options for Transaction creation does not mean replacement of Transaction workbench, AutoInvoice, or the Transaction API program.<\/p>\n<p>dgreybarrowWith this API&#8217;s you can manage<\/p>\n<p>    Single or multiple invoice(s) creation when you required<br \/>\n    This will extensive defaulting which minimizes the programming effort<br \/>\n    Validation ensures quality data<br \/>\n    You can use debug messages in a central repository that improves coding efficiency<br \/>\n    You can get immediate results<\/p>\n<p>dgreybarrowHow to start with API&#8217;s Usage<\/p>\n<p>Very similar to AutoInvoice , you need following setup.<\/p>\n<p>    Payment Terms<br \/>\n    Invoice Transaction Type<br \/>\n    Transaction Batch Source<br \/>\n    Currency<br \/>\n    Customer<br \/>\n    Remit to Address<br \/>\n    AutoAccounting<\/p>\n<p>    Optional Setup<\/p>\n<p>    Salesperson<br \/>\n    Document Numbering<br \/>\n    Inventory or Memo line id<\/p>\n<p>    Additionally you need to make sure these should be used<\/p>\n<p>    tickR11i<\/p>\n<p>    fnd_global.apps_initialize<br \/>\n    dbms_application_info.set_client_info(&#8217;&#038;Org_id&#8217;); &#8212; if using TOAD or sqlplus<\/p>\n<p>    tickR12<\/p>\n<p>    fnd_global.apps_initialize<br \/>\n    mo_global.set_policy_context<br \/>\n    xla_security_pkg.set_security_context<\/p>\n<p>dgreybarrowWhat are the API&#8217;S<\/p>\n<p>AR_INVOICE_API_PUB<\/p>\n<p>This API will have 2 routine call, which you can either create single\/multiple in batch or single invoice.<\/p>\n<p>    tickar_invoice_api_pub.create_invoice: Creates multiple invoices in a batch.<br \/>\n    tickar_invoice_api_pub.create_single_invoice: Creates a single invoice and return customer trx id.<\/p>\n<p>dgreybarrow Important Tips and notes<\/p>\n<p>    These API can only be used to create new transactions, not use for update existing ones.<br \/>\n    This API can only create 'INV&#8217; type transactions. It is not desgined to create Debit Memos\/credit memo.<br \/>\n    When you load via the AR_INVOICE_API_PUB it populates the temp tables AR_TRX_HEADER_GT, AR_TRX_LINE_GT<br \/>\n    The transaction number is populated when automatic transaction numbering is selected on the transaction batch source.<br \/>\n    The Publically supported transaction API is AR_INVOICE_API_PUB have source file ARXPINVB.pls , ARXPINVS.pls.<br \/>\n    You can take advantage of parameter p_commit, very similar way the HR API&#8217;s are using. If you want to make just a validation, always start with p_commit=false<\/p>\n<p>dgreybarrowAutoinvoice Vs Transactions API<br \/>\nIts depends , what is comfortable level. Autoinvoice is one of such robust tool that cater the external interfacing need, therefore is always advisable to use an Interface as it is available.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/www.oracleappshub.com\/accounts-receivable\/ar-invoice-api-application-program-interface\/<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[22],"tags":[],"_links":{"self":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts\/453"}],"collection":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=453"}],"version-history":[{"count":3,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts\/453\/revisions"}],"predecessor-version":[{"id":457,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=\/wp\/v2\/posts\/453\/revisions\/457"}],"wp:attachment":[{"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oracle.malin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}