{"id":4548,"date":"2014-02-18T17:29:47","date_gmt":"2014-02-18T11:59:47","guid":{"rendered":"http:\/\/erpschools.com\/?p=4548"},"modified":"2014-12-11T10:39:45","modified_gmt":"2014-12-11T10:39:45","slug":"ar-auto-invoice-interface","status":"publish","type":"post","link":"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface","title":{"rendered":"Auto Invoice interface Overview"},"content":{"rendered":"<p><strong>Auto Invoice Interface:<\/strong><\/p>\n<p>This interface is used to import Customer invoices, Credit memos, Debit memos and On Account credits.<\/p>\n<p><strong>Pre-requisites Setups required:<\/strong><\/p>\n<p>Set of Books<br \/>\nCode combinations<br \/>\nItems<br \/>\nSales representatives<br \/>\nCustomers<br \/>\nSales Tax rate<br \/>\nPayment Terms<br \/>\nTransaction Types<br \/>\nFreight Carriers<br \/>\nFOB<br \/>\nBatch Sources<br \/>\nAccounting Rules<\/p>\n<p><strong>Validations:<\/strong><\/p>\n<p>A custom program has to be written to dump the data( from extract files)\u00a0 into temporary tables. Below are few of the validations that need to be done before loading the data into interface tables:<\/p>\n<p>1. AR Transaction Type Validation: Check if the Transaction type provided in data file is defined in AR transaction types (RA_CUST_TRX_TYPES_ALL)<\/p>\n<p>2- Transaction Batch Source Validation: Check if the source provided in data file is defined in AR transaction Batch source (RA_BATCH_SOURCES_ALL).<\/p>\n<div>3- Invoice Currency Validation: Check if the currency provided in data file is defined in AR Currency (FND_CURRENCIES)<\/div>\n<div><\/div>\n<div>4- Customer Validation: Check if the Bill to Customer Number, Ship to Customer Number, Bill to Custom Location, Ship to Customer Location provided in the data file is defined in AR Customer (RA_CUSTOMERS).<\/div>\n<div><\/div>\n<div>5- Primary Sales Representative Validation: Sales representative number to be hardcode to \u201c-3\u201d for \u201cNo Sales Credit.\u201d<\/div>\n<div><\/div>\n<div>6- Term Name: Check if the Term name provided in the data file is defined in Payment terms (RA_TERMS)<\/div>\n<div><\/div>\n<div>7- Inventory Item Validation: Check if the Item provided in data file is defined in Inventory Items (MTL_SYSTEM_ITEMS).<\/div>\n<div><\/div>\n<div>8- Unit of Measurement validation: Check if the UOM provided is defined in MTL_UNITS_OF_MEASURE Table<\/div>\n<div><\/div>\n<div>9- Invoice Tax Code Validation: Check if the Tax Code provided in data file is defined in AR_VAT_TAX_ALL_B Table.<\/div>\n<div><\/div>\n<div>10- Invoice GL Date Validation: Check if the GL Data of provided invoices is in open period.<\/div>\n<div><\/div>\n<div>For MOAC:<\/div>\n<div>You need to add the below columns and need to do validations if your application supports MOAC.<\/div>\n<ul>\n<li>conversion_type<\/li>\n<li>conversion_rate<\/li>\n<li>conversion_date<\/li>\n<\/ul>\n<p><strong>Interface tables:<\/strong><\/p>\n<p>Populate the data into the following Auto Invoice interface tables.<\/p>\n<p>RA_INTERFACE_LINES_ALL<br \/>\nRA_INTERFACE_SALESCREDITS (This table should be populated if Sales Credit info needs to be imported)<br \/>\nRA_INTERFACE_DISTRIBUTIONS<br \/>\nRA_INTERFACE_ERRORS (details about the failed records)<\/p>\n<p>&nbsp;<\/p>\n<p>RA_INTERFACE_LINES_ALL: (Important columns to be populated)<\/p>\n<p>AGREEMENT_ID<br \/>\nCOMMENTS<br \/>\nCONVERSION_DATE<br \/>\nCONVERSION_RATE<br \/>\nCONVERSION_TYPE<br \/>\nCREDIT_METHOD_FOR_ACCT_RULE<br \/>\nCREDIT_METHOD_FOR_INSTALLMENTS<br \/>\nCURRENCY_CODE<br \/>\nCUSTOMER_BANK_ACCOUNT_ID<br \/>\nCUST_TRX_TYPE_ID<br \/>\nDOCUMENT_NUMBER<br \/>\nDOCUMENT_NUMBER_SEQUENCE_ID<br \/>\nGL_DATE<br \/>\nHEADER_ATTRIBUTE1\u201315<br \/>\nHEADER_ATTRIBUTE_CATEGORY<br \/>\nINITIAL_CUSTOMER_TRX_ID<br \/>\nINTERNAL_NOTES<br \/>\nINVOICING_RULE_ID<br \/>\nORIG_SYSTEM_BILL_ADDRESS_ID<br \/>\nORIG_SYSTEM_BILL_CONTACT_ID<br \/>\nORIG_SYSTEM_BILL_CUSTOMER_ID<br \/>\nORIG_SYSTEM_SHIP_ADDRESS_ID<br \/>\nORIG_SYSTEM_SHIP_CONTACT_ID<br \/>\nORIG_SYSTEM_SHIP_CUSTOMER_ID<br \/>\nORIG_SYSTEM_SOLD_CUSTOMER_ID<br \/>\nORIG_SYSTEM_BATCH_NAME<br \/>\nPAYMENT_SERVER_ORDER_ID<br \/>\nPREVIOUS_CUSTOMER_TRX_ID<br \/>\nPRIMARY_SALESREP_ID<br \/>\nPRINTING_OPTION<br \/>\nPURCHASE_ORDER<br \/>\nPURCHASE_ORDER_DATE<br \/>\nPURCHASE_ORDER_REVISION<br \/>\nREASON_CODE<br \/>\nRECEIPT_METHOD_ID<br \/>\nRELATED_CUSTOMER_TRX_ID<br \/>\nSET_OF_BOOKS_ID<br \/>\nTERM_ID<br \/>\nTERRITORY_ID<br \/>\nTRX_DATE<br \/>\nTRX_NUMBER<\/p>\n<p><strong>Interface Program name<\/strong>:\u00a0 Run the concurrent program Auto invoice master program<\/p>\n<p>AutoInvoice is a program set consists of 3 main programs. Each program will have unique nature of work to do and they are called internally except Purge program whose execution is derived on the setup otherwise ready to execute stand alone.<br \/>\nMaster (RAXMTR)<br \/>\nImport (RAXTRX)<br \/>\nPurge (RAXDEL)<\/p>\n<p>1. Auto Invoice Master program RAXMTR<br \/>\nSelects and marks records in the interface tables to be processed based on the parameters the user entered and then calls the AutoInvoice Import program. Auto Invoice Master program has no report output.<br \/>\n\u2022Gathers statistics, it means it gathers the stats on interface tables and set the stats on certain indices on interface tables<br \/>\n\u2022Marks interface records for processing by marking request_id<br \/>\n\u2022Submits multiple workers for Parallel Processing by creating instances for request.<\/p>\n<p>2. Auto Invoice Import Program<br \/>\nValidates the selected record and creates transaction if it passes validation. Any record that fails validation is left in the interface table with an error code. Depending on the setup, related records may be rejected as well. This program has an output file called Auto Invoice Execution report, which you can view by clicking the View Report button in the Requests window.Working of Auto invoice , Validates data, Inserts records, Deletes interface data Only when system option purge set to \u2018Y\u2019<\/p>\n<p>3. Auto Invoice Purge Program<br \/>\nDeletes records from the interface tables. If you set the Purge Interface Table system option to No in Define System Option window, Auto Invoice does not delete processed records from the interface tables after each run,and we must submit Auto Invoice Purge Program periodically to clean up the interface tables. This program only deletes transaction lines that have been successfully imported. Deletes all rows where interface_status =\u2018P\u2019<br \/>\n\u2022 Ra_interface_lines<br \/>\n\u2022 Ra_interface_distributions<br \/>\n\u2022 Ra_interface_salescredits<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Base tables:<\/span><\/p>\n<p>Once the Auto invoice Program gets called, the below activities will be performed.<\/p>\n<p>Lines are ordered and grouped<br \/>\nTax is calculated<br \/>\nGL date is determined<br \/>\nGL accounts are assigned using Auto Accounting<br \/>\nTax, freight, commitments, and credit memos are linked to transaction lines<br \/>\nAll transactions are batched<br \/>\nValidated lines are used to create the transaction<\/p>\n<p>Finally the data will be populated into the below base tables:<\/p>\n<p>RA_BATCHES<br \/>\nRA_CUSTOMER_TRX_ALL<br \/>\nRA_CUSTOMER_TRX_LINES_ALL<br \/>\nAR_PAYMENT_SCHEDULES_ALL<br \/>\nRA_CUSTOMER_TRX_LINE_SALESREPS<br \/>\nRA_CUST_TRX_GL_DIST_ALL<br \/>\nRA_CUSTOMER_TRX_TYPES_ALL<\/p>\n<p><strong>AutoInvoice Exception Handling<\/strong><br \/>\nRecords that fail validation are called \u2018Exceptions\u2019. Exceptions stay in Interface Tables which is RA_INTERFACE_ERRORS_ALL. Errors can be corrected in the Exception Handling window. Once corrections are made, Auto invoice must be resubmitted. Records that pass validation get transferred to Receivables tables<\/p>\n<p><strong>AutoInvoice Exception Handling Windows<\/strong><br \/>\n-Interface Exception window displays exception messages associated with all invalid records<br \/>\n-Interface Lines window displays records that fail validation, provides an error message and can be used to correct the errors<br \/>\n-The Line Errors windows displays errors associated with a specific line, and can only be opened from Interface Lines window<br \/>\n-Interface Exceptions window displays Interface Id, Exception Type, Error Message and Invalid Value associated to the error<br \/>\n-Data cannot be edited in this window, but error can be viewed and corrected by clicking the Details button<br \/>\n-Error Message and Column name with invalid data are displayed in the Message column, and the invalid value that needs to<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Auto Invoice Interface: This interface is used to import Customer invoices, Credit memos, Debit memos and On Account credits. Pre-requisites Setups required: Set of Books Code combinations Items Sales representatives Customers Sales Tax rate Payment Terms Transaction Types Freight Carriers FOB Batch Sources Accounting Rules Validations: A custom program has to be written to dump [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[525,193,190],"class_list":["post-4548","post","type-post","status-publish","format-standard","hentry","category-interface","tag-ar","tag-auto-invoice","tag-interface-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ar auto invoice interface<\/title>\n<meta name=\"description\" content=\"ar auto invoice interface\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prudhvi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface#article\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface\"},\"author\":{\"name\":\"Prudhvi\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512\"},\"headline\":\"Auto Invoice interface Overview\",\"datePublished\":\"2014-02-18T11:59:47+00:00\",\"dateModified\":\"2014-12-11T10:39:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface\"},\"wordCount\":1077,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\"},\"keywords\":[\"ar\",\"auto invoice\",\"interface\"],\"articleSection\":[\"Interface\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface\",\"url\":\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface\",\"name\":\"ar auto invoice interface\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#website\"},\"datePublished\":\"2014-02-18T11:59:47+00:00\",\"dateModified\":\"2014-12-11T10:39:45+00:00\",\"description\":\"ar auto invoice interface\",\"breadcrumb\":{\"@id\":\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/erpschools.com\/erps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Auto Invoice interface Overview\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/erpschools.com\/erps\/#website\",\"url\":\"https:\/\/erpschools.com\/erps\/\",\"name\":\"erpSchools\",\"description\":\"Oracle Apps\",\"publisher\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/erpschools.com\/erps\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\",\"name\":\"erpSchools\",\"url\":\"https:\/\/erpschools.com\/erps\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png\",\"contentUrl\":\"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png\",\"width\":250,\"height\":60,\"caption\":\"erpSchools\"},\"image\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"http:\/\/facebook.com\/erpschools\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512\",\"name\":\"Prudhvi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g\",\"caption\":\"Prudhvi\"},\"sameAs\":[\"http:\/\/www.erpschools.com\"],\"url\":\"https:\/\/erpschools.com\/erps\/author\/prudhvi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ar auto invoice interface","description":"ar auto invoice interface","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface","twitter_misc":{"Written by":"Prudhvi","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface#article","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface"},"author":{"name":"Prudhvi","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512"},"headline":"Auto Invoice interface Overview","datePublished":"2014-02-18T11:59:47+00:00","dateModified":"2014-12-11T10:39:45+00:00","mainEntityOfPage":{"@id":"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface"},"wordCount":1077,"commentCount":0,"publisher":{"@id":"https:\/\/erpschools.com\/erps\/#organization"},"keywords":["ar","auto invoice","interface"],"articleSection":["Interface"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface#respond"]}]},{"@type":"WebPage","@id":"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface","url":"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface","name":"ar auto invoice interface","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/#website"},"datePublished":"2014-02-18T11:59:47+00:00","dateModified":"2014-12-11T10:39:45+00:00","description":"ar auto invoice interface","breadcrumb":{"@id":"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/erpschools.com\/erps\/interface\/ar-auto-invoice-interface#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/erpschools.com\/erps"},{"@type":"ListItem","position":2,"name":"Auto Invoice interface Overview"}]},{"@type":"WebSite","@id":"https:\/\/erpschools.com\/erps\/#website","url":"https:\/\/erpschools.com\/erps\/","name":"erpSchools","description":"Oracle Apps","publisher":{"@id":"https:\/\/erpschools.com\/erps\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/erpschools.com\/erps\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/erpschools.com\/erps\/#organization","name":"erpSchools","url":"https:\/\/erpschools.com\/erps\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/","url":"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png","contentUrl":"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png","width":250,"height":60,"caption":"erpSchools"},"image":{"@id":"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/erpschools"]},{"@type":"Person","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512","name":"Prudhvi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g","caption":"Prudhvi"},"sameAs":["http:\/\/www.erpschools.com"],"url":"https:\/\/erpschools.com\/erps\/author\/prudhvi"}]}},"_links":{"self":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/4548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/comments?post=4548"}],"version-history":[{"count":0,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/4548\/revisions"}],"wp:attachment":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/media?parent=4548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/categories?post=4548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/tags?post=4548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}