15
PowerView is Off (0) Madhuri (Not Available) Contact Us Help In this Document Symptoms Cause Solution 1. Check AutoAccounting Setup a) If Segments Source = Salesreps b) If Segment Source = Standard Lines c) If Segment Source = Transaction Types d) If Segment Source = Sites 2. Validate the Shipping Inventory Organization 3. If you are passing Data in RA_INTERFACE_DISTRIBUTIONS_ALL 4. Check the profile option: AR: Use Invoice Accounting for Credit Memos 5. Check if the GL account exists and is active 6. Verify Accounting Flexfield setting for Enabled and Allow Dynamic Inserts 7. Verify whether the GL account does not violate any crossvalidation rules of the segments. 8. Check for Possible Known Bugs 9. Use the AutoInvoice PostProcess Validation Report Still Have Questions? References APPLIES TO: Oracle Project Billing Version 11.5.10.1 and later Oracle Order Management Version 11.5.10.0 and later Oracle Receivables Version 11.5.10.0 and later Oracle Lease and Finance Management Version 12.0.1 and later Information in this document applies to any platform. Checked for relevance 12Apr2013 Executable:RAXTRX Autoinvoice Import Program Form:ARXTWMAI.FMB Transactions Executable:PARGDR PRC: Generate Draft Revenue for a Range of Projects Executable:PAIGEN PRC: Generate Draft Invoices for a Range of Projects SYMPTOMS Oracle Receivables (AR): AutoInvoice Information Center > Troubleshooting AutoInvoice for Oracle Receivables Release 11.5 Through 12 > Troubleshooting AutoAccounting in AutoInvoice Note > 1088251.1 When Creating transactions via AutoInvoice, or the Transactions Form or APIs or via a hookup into Receivables, you get the Error: Please correct the revenue account assignment This can occur in: Oracle Receivables Transaction Workbench Oracle Receivables: AutoInvoice Import Oracle Receivables: Invoice API's Oracle Projects: Project Billing Generate Draft Invoices or Revenue CAUSE Numerous SOLUTION TIP: Check out Note 1904785.1 AutoAccounting Analyzer, a dynamic way to help you identify and resolve AutoAccounting issues. Document Details Type: Status: Last Major Update: Last Update: PROBLEM PUBLISHED 06Oct2014 06Oct2014 Related Products Oracle Project Billing Oracle Order Management Oracle Receivables Oracle Lease and Finance Management Information Centers Information Center: Oracle Order Management [1395754.2] Information Center: Oracle Project Billing [1381200.2] Information Center: Oracle Lease and Finance Management [1275298.2] Information Center: Overview of AutoInvoice in Oracle Receivables (AR) 11.5 and later [1137414.2] Information Center: Overview of the Transactions Workbench in Oracle Receivables (AR) 11.5 and later [1320546.2] Show More Document References R11i/12: AR: AutoInvoice PostProcess Analyzer: Overview and Installation Instructions [1523525.1] Recently Viewed AutoInvoice, Transaction Workbench or Invoice API Error: Please correct the revenue account assignment (Doc ID 1088251.1) To Bottom How To Setup Freight For AutoInvoice And The Transactions Workbench [1096942.1] AutoInvoice and Transaction Workbench Error: Please complete your tax accounting flexfield [1087263.1] R11i/12: AR: AutoInvoice PostProcess Analyzer: Overview and Installation Instructions [1523525.1] Auto Accounting Is Failing With "Please Correct The Revenue Account Assignment" For Freight Item [1994304.1] Autoinvoice Error: This line has the same transaction flexfield as another row in the interface table [1339318.1] Show More Dashboard Service Requests Patches & Updates Knowledge Give Feedback...

AutoInvoice, Transaction Workbench or Invoice API Error Please Correct the Revenue Account Assignment

Embed Size (px)

DESCRIPTION

AutoInvoice, Transaction Workbench or Invoice API Error Please Correct the Revenue Account Assignment

Citation preview

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWin 1/15

    PowerViewisOff (0)Madhuri(NotAvailable) ContactUs Help

    InthisDocument

    SymptomsCauseSolution 1.CheckAutoAccountingSetup a)IfSegmentsSource=Salesreps b)IfSegmentSource=StandardLines c)IfSegmentSource=TransactionTypes d)IfSegmentSource=Sites 2.ValidatetheShippingInventoryOrganization 3.IfyouarepassingDatainRA_INTERFACE_DISTRIBUTIONS_ALL 4.Checktheprofileoption:AR:UseInvoiceAccountingforCreditMemos 5.CheckiftheGLaccountexistsandisactive 6.VerifyAccountingFlexfieldsettingforEnabledandAllowDynamicInserts 7.VerifywhethertheGLaccountdoesnotviolateanycrossvalidationrulesofthesegments. 8.CheckforPossibleKnownBugs 9.UsetheAutoInvoicePostProcessValidationReport StillHaveQuestions?References

    APPLIESTO:

    OracleProjectBillingVersion11.5.10.1andlaterOracleOrderManagementVersion11.5.10.0andlaterOracleReceivablesVersion11.5.10.0andlaterOracleLeaseandFinanceManagementVersion12.0.1andlaterInformationinthisdocumentappliestoanyplatform.Checkedforrelevance12Apr2013Executable:RAXTRXAutoinvoiceImportProgramForm:ARXTWMAI.FMBTransactionsExecutable:PARGDRPRC:GenerateDraftRevenueforaRangeofProjectsExecutable:PAIGENPRC:GenerateDraftInvoicesforaRangeofProjects

    SYMPTOMS

    OracleReceivables(AR):AutoInvoiceInformationCenter>TroubleshootingAutoInvoiceforOracleReceivablesRelease11.5Through12>TroubleshootingAutoAccountinginAutoInvoiceNote>1088251.1

    WhenCreatingtransactionsviaAutoInvoice,ortheTransactionsFormorAPIsorviaahookupintoReceivables,yougettheError:

    Pleasecorrecttherevenueaccountassignment

    Thiscanoccurin:OracleReceivablesTransactionWorkbenchOracleReceivables:AutoInvoiceImportOracleReceivables:InvoiceAPI'sOracleProjects:ProjectBillingGenerateDraftInvoicesorRevenue

    CAUSE

    Numerous

    SOLUTION

    TIP:CheckoutNote1904785.1AutoAccountingAnalyzer,adynamicwaytohelpyouidentifyandresolveAutoAccountingissues.

    DocumentDetails

    Type:Status:LastMajorUpdate:LastUpdate:

    PROBLEMPUBLISHED06Oct201406Oct2014

    RelatedProducts

    OracleProjectBillingOracleOrderManagementOracleReceivablesOracleLeaseandFinanceManagement

    InformationCenters

    InformationCenter:OracleOrderManagement[1395754.2]

    InformationCenter:OracleProjectBilling[1381200.2]

    InformationCenter:OracleLeaseandFinanceManagement[1275298.2]

    InformationCenter:OverviewofAutoInvoiceinOracleReceivables(AR)11.5andlater[1137414.2]

    InformationCenter:OverviewoftheTransactionsWorkbenchinOracleReceivables(AR)11.5andlater[1320546.2]

    ShowMore

    DocumentReferences

    R11i/12:AR:AutoInvoicePostProcessAnalyzer:OverviewandInstallationInstructions[1523525.1]

    RecentlyViewed

    AutoInvoice,TransactionWorkbenchorInvoiceAPIError:Pleasecorrecttherevenueaccountassignment(DocID1088251.1) ToBottom

    HowToSetupFreightForAutoInvoiceAndTheTransactionsWorkbench[1096942.1]AutoInvoiceandTransactionWorkbenchError:Pleasecompleteyourtaxaccountingflexfield[1087263.1]R11i/12:AR:AutoInvoicePostProcessAnalyzer:OverviewandInstallationInstructions[1523525.1]AutoAccountingIsFailingWith&quotPleaseCorrectTheRevenueAccountAssignment&quotForFreightItem[1994304.1]AutoinvoiceError:Thislinehasthesametransactionflexfieldasanotherrowintheinterfacetable[1339318.1]

    ShowMore

    Dashboard ServiceRequests Patches&UpdatesKnowledgeGiveFeedback...

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWin 2/15

    resolveAutoAccountingissues.

    Therearemultiplecausesforthiserrortoberaised,thefollowingguidesyouthroughthevariousthingsyoucancheck/usetoaddressthiserror:

    1.CheckAutoAccountingSetup

    IfyouaregettingtheerrorinAutoInvoice,trycreatingamanualtransactionandusethesameGLaccountsegments.AsyouentereachGLaccountsegmentinthetransactionform,ifvalidationlogicfails,theformwillraiseanerror.Thiswillhelpyouinidentifyingwhichsegmentshaveissuesandwillassistyouinresolvingtheproblem.

    Forthisparticualrerrormessage,theGLaccountinerrorwillbedisplayed,andaparticularsegmentwillbemissing.Let'stakethefollowingasanexample:

    Pleasecorrecttherevenueaccountassignment(03000000000000000000000000)

    Acloselookattheaccountingsegmentsshowsthe3rdsegmentismissing.

    Responsibility:ReceivablesManagerNavigation:Setup>Transactions>AutoAccountingThenqueryupforType=Revenue,andreviewthesourceforeachofthesegments.Forthisexample,the3rdsegmentisraisingtheerror,sopayattentiontowherethe3rdsegmentissourcedfrom.

    Dependingonwhatthesourceisforthefailingsegment,youcanusethefollowingstepstoinvestigate/troubleshootfurther.

    a)IfSegmentsSource=Salesreps

    WhenasegmentoftheGLaccounthastobederivedfromtheGLaccountsassociatedwiththeSalesrep,thenitispertinentthatyouassociateaSalesreptoyourtransactions.Checkwhetherthefollowinghasbeensetupcorrectly:

    TransactionSource

    Responsibility:ReceivablesManagerNavigation:Setup>Transactions>Sources

    QueryupthetransactionsourceusedforyourAutoInvoiceimportbatch,andnavigatetotheAutoInvoiceOptionstab,andensurethatthecheckboxforAllowSalescreditischecked.

    NextchecktheSalesCreditValidationtab,verifywhatyouhavesetupforSalesperson,howyousetituphereimpactswhatAutoInvoicewillexpecttoseeintheRA_INTERFACE_LINES_ALLtable(discussedbelow)

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWin 3/15

    SystemOptions

    Responsibility:ReceivablesManagerNavigation:Setup>System>SystemOptions

    NavigatetotheMiscellaneoustabandcheckiftheRequireSalespersoncheckboxischecked.

    Thecombinationoftheabovesettingsdeterminesthebehaviorre.SalescreditsdatainAutoInvoice.

    Note:Regardlessofthecombinationofsettingsyoudefinebelow,ifyoupassdatainRA_INTERFACE_SALESCREDITS_ALL,thenAutoInvoicewillvalidatethatthedatayouprovidedisvalid.

    AllowSalescreditfield(InTransactionSource)

    RequireSalesperson(inSystemOptions)

    RequirementofSalescreditinformation

    Checked Checked Mandatory

    Checked NotChecked Optional

    NotChecked Checked Mandatory

    NotChecked NotChecked Anydataenteredwillbeignored

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWin 4/15

    ignored

    GLaccountassociatedtoSalesrep

    Responsibility:CRMResourcemanagerNavigation:MaintainResources>Resources

    EnsurethatFreight,ReceivablesandRevenueAccountsassociatedtotheSalesrephavebeensetupcompletely.

    DatainRA_INTERFACE_SALESCREDITS_ALL

    WhenyouhavedefinedAutoAccountingsuchthatsomeGLaccountsegmentsaresourcedfromSalesreps,makesurethatyoupopulatethetableRA_INTERFACE_SALESCREDITSforeachlineinRA_INTERFACE_LINES_ALLsothattheproperaccountingcanbederived,andensurethatthevaluesinINTERFACE_LINE_CONTEXT+INTERFACE_LINE_ATTRIBUTE115matchup.

    ThisisrequiredwhenyousourcesegmentsfromSalesrepsandisnecessaryevenifyoursystemoptionRequireSalesrepsissettoNo.

    DatainRA_INTERFACE_LINES_ALL

    IfyoursourceisSalesreps,andyourTransactionSourcesetupforSalespersonis:

    Number,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.PRIMARY_SALESREP_NUMBERId,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.PRIMARY_SALESREP_ID

    ScripttofindincompleteSalesrepsetupforAutoAccountingThefollowingscriptwillpickupallSalesrepsthatdonothavealltheGLaccountssetup,thiscouldassistyouinproactivelysettingtheseuptoavoidissuesinAutoInvoice.

    SELECTNAME,SALESREP_NUMBER,SALESREP_ID,PERSON_ID,STATUS,NVL(TO_CHAR(GL_ID_REV),'NULLREV')GL_ID_REV,NVL(TO_CHAR(GL_ID_REC),'NULLREC')GL_ID_REC,NVL(TO_CHAR(GL_ID_FREIGHT),'NULLFREIGHT')GL_ID_FREIGHTFROMJTF_RS_SRP_VLWHERESTATUS='A'AND((NVL(START_DATE_ACTIVE,sysdate)=sysdate))AND(GL_ID_RECISNULLORGL_ID_REVISNULLORGL_ID_FREIGHTISNULL)ANDEXISTS(SELECT'x'FROMRA_ACCOUNT_DEFAULTS_ALLa,

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWin 5/15

    FROMRA_ACCOUNT_DEFAULTS_ALLa,RA_ACCOUNT_DEFAULT_SEGMENTSsWHEREs.GL_DEFAULT_ID=a.GL_DEFAULT_IDANDs.CONSTANTisnullANDs.TABLE_NAME='RA_SALESREPS')

    ProjectsUsers:SetupaCreditReceiveronaprojectsothattheRA_INTERFACE_SALESCREDITS_ALLtableispopulatedbythe'InterfaceInvoicestoReceivables'process.Thismayrequirethatthe'NoSalesCredit'salespersonbesetupasanemployee.Settingthisupwillallowyoutobypassthemandatorysalesrepvalidationwhennoneexists.Tocompletethissetup,gointotheReceivablesresponsibility:NAVSetup/Transactions/Sources.Queryyourbatchsource.GototabAutoInvoiceoptions.Markallowsalescredit.

    b)IfSegmentSource=StandardLines

    WhenyourGLaccountsegmentsaresourcefromStandardlines,itispertinenttoassociateeitheranInventoryItemoraMemolinetoyourtransaction,sothatAutoAccountingcanderivetheGLaccountsegments.Checkwhetherthefollowinghavebeensetupcorrectly:

    TransactionSource

    Responsibility:ReceivablesManagerNavigation:Setup>Transactions>Sources

    QueryupthetransactionsourceusedforyourAutoInvoiceimportbatch,andnavigatetotheOtherInformationtab,howyousetupMemoLineRuleand/orInventoryItemhereimpactswhatAutoInvoicewillexpecttoseeinRA_INTERFACE_LINES_ALLtable(discussedbelow).

    GLaccountassociatedtoInventoryItemorMemoLine

    ForanInventoryItem

    Responsibility:ReceivablesManagerNavigation:Setup>Transactions>Items>Defineitems

    QuerytheitemandintheInvoicingTabcheckthevalueintheSalesAccountfield.

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWin 6/15

    ForaMemoLine

    Responsibility:ReceivablesManagerNavigation:Setup>Transactions>MemoLines

    MakesurethattheRevenueAccountispopulated.

    DatainRA_INTERFACE_LINES_ALL

    IfyoursourceisMemoLine,andyourTransactionSourcesetupforMemoLineRuleis:Value,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.MEMO_LINE_NAMEId,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.MEMO_LINE_ID

    ifyoursourceisanInventoryItem,andyourTransactionSourcesetupforInventoryItemis:Segment,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.MTL_SYSTEM_ITEMS_SEG120(asappropriate)Id,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.INVENTORY_ITEM_ID

    ScripttofindincompleteMemoLineorInventoryItemsetupforAutoAccountingThefollowingscriptwillpickupMemoLinesthatdonothavealltheRevenueaccountsetup,thiscouldassistyouinproactivelysettingtheseuptoavoidissuesinAutoInvoice.

    SELECTT.NAME,B.MEMO_LINE_ID,NVL(TO_CHAR(b.GL_ID_REV),'NULLREV')GL_ID_REVFROMAR_MEMO_LINES_ALL_TLT,AR_MEMO_LINES_ALL_BBWHEREb.MEMO_LINE_ID=t.MEMO_LINE_IDAND((nvl(b.END_DATE,sysdate)>=sysdate)AND(nvl(b.START_DATE,sysdate)

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWin 7/15

    ThefollowingscriptwillpickupInventoryItemsfromorganizationsinvolvedinOrderManagementthatdonothavetheSalesAccountsetup,thiscouldassistyouinproactivelysettingtheseuptoavoidissuesinAutoInvoice.

    SELECTORGANIZATION_ID,DESCRIPTION,INVENTORY_ITEM_ID,NVL(TO_CHAR(SALES_ACCOUNT),'NULLSALESACCOUNT')FROMMTL_SYSTEM_ITEMSWHERE((nvl(END_DATE_ACTIVE,sysdate)>=sysdate)AND(nvl(START_DATE_ACTIVE,sysdate)Transactions>Sources

    QueryupthetransactionsourceusedforyourAutoInvoiceimportbatch,andnavigatetotheOtherInformationtab,andyoursetupforTransactionType.HowyouhaveitsetuphereimpactswhatAutoInvoicewillexpecttoseeinRA_INTERFACE_LINES_ALL(discussedbelow)

    TransactionType

    EnsurethatyouhavepopulatedtheGLaccountsassociatedtotheTransactionTypeyouareusinginyourInterfacetable.

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWin 8/15

    DatainRA_INTERFACE_LINES_ALL

    IfyourTransactionSourcesetupforTransactionTypeis:

    Value,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.CUST_TRX_TYPE_NAMEId,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.CUST_TRX_TYPE_ID

    ScripttofindincompleteTransactiontypesetupforAutoAccounting

    ThefollowingscriptwillpickuptransactiontypesthatdonothavealltheGLaccountssetup.IfyouhavesomeAutoAccountingdefinedtosourcefromTransactionTypes,thentheincompleteGLaccountsetupcouldcauseissuesthisscriptcouldassistyouinproactivelysettingtheseuptoavoidissuesinAutoInvoice.

    SELECTORG_ID,NAME,CUST_TRX_TYPE_ID,TYPE,STATUS,POST_TO_GL,ACCOUNTING_AFFECT_FLAG,NVL(TO_CHAR(GL_ID_REC),'NULLREC')gl_id_rec,DECODE(type,'BR','NOTAPPLICABLE',NVL(TO_CHAR(GL_ID_REV),'NULLREV'))gl_id_rev,DECODE(type,'BR','NOTAPPLICABLE',NVL(TO_CHAR(GL_ID_FREIGHT),'NULLFREIGHT'))gl_id_freight,DECODE(type,'BR','NOTAPPLICABLE',NVL(TO_CHAR(GL_ID_CLEARING),'NULLCLEARING'))gl_id_clearing,DECODE(type,'BR','NOTAPPLICABLE',NVL(TO_CHAR(GL_ID_TAX),'NULLTAX'))gl_id_tax,DECODE(type,'BR','NOTAPPLICABLE',NVL(TO_CHAR(GL_ID_UNBILLED),'NULLUNBILL'))gl_id_unbilled,DECODE(type,'BR','NOTAPPLICABLE',NVL(TO_CHAR(GL_ID_UNEARNED),'NULLUNEARN'))gl_id_unearned,DECODE(type,'BR',NVL(TO_CHAR(GL_ID_UNPAID_REC),'NULLUNPAIDREC'),'NOTAPPLICABLE')gl_id_unpaidrec,DECODE(type,'BR',NVL(TO_CHAR(GL_ID_REMITTANCE),'NULLREMITTANCE'),'NOTAPPLICABLE')gl_id_remittance,DECODE(type,'BR',NVL(TO_CHAR(GL_ID_FACTOR),'NULLFACTOR'),'NOTAPPLICABLE')gl_id_factor,START_DATE,END_DATEFROMRA_CUST_TRX_TYPES_ALLWHERE((NVL(START_DATE,sysdate)=sysdate))ANDNVL(STATUS,'A')='A'AND((TYPE='BR'AND(GL_ID_RECISNULLORGL_ID_UNPAID_RECISNULLORGL_ID_REMITTANCEISNULLORGL_ID_FACTORISNULL))OR(TYPE'BR'AND(GL_ID_RECISNULLORGL_ID_REVISNULLORGL_ID_FREIGHTISNULLORGL_ID_CLEARINGISNULLORGL_ID_TAXISNULLORGL_ID_UNBILLEDISNULLORGL_ID_UNEARNEDISNULL)))ANDEXISTS(SELECT'x'FROMRA_ACCOUNT_DEFAULTS_ALLa,RA_ACCOUNT_DEFAULT_SEGMENTSsWHEREs.GL_DEFAULT_ID=a.GL_DEFAULT_IDANDs.CONSTANTisnullANDs.TABLE_NAME='RA_CUST_TRX_TYPES')ORDERBY1

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWin 9/15

    d)IfSegmentSource=Sites

    TransactionSources

    Responsibility:ReceivablesManagerNavigation:Setup>Transactions>Sources

    QueryupthetransactionsourceusedforyourAutoInvoiceimportbatch,andnavigatetotheCustomerInformationtab,andcheckhowyouhavesetupBillToAddressandBillToCustomer,howyouhaveitsetuphereimpactswhatAutoInvoicewillexpecttoseeinRA_INTERFACE_LINES_ALL(discussedbelow)

    CustomerSiteEnsurethatyouhavepopulatedtheAccountsassociatedattheBillToSitelevel.

    CheckthattheSiteyouareusingisassociatedtothesameOperatingUnit(ORG_ID)asthetransactionyouareinterfacing.

    Responsibility:ReceivablesManagerNavigation:Customers>Customers

    Queryupthecustomerrecord,drilldowntotheAccountLevelandthentotheSiteLevelandensuretheSite

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWi 10/15

    Queryupthecustomerrecord,drilldowntotheAccountLevelandthentotheSiteLevelandensuretheSiteislinkedtotherightoperatingUnit.

    DatainRA_INTERFACE_LINES_ALL

    IfyourTransactionSourcesetupforBillToCustomeris:Value,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.ORIG_SYSTEM_BILL_CUSTOMER_REFId,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.ORIG_SYSTEM_BILL_CUSTOMER_ID

    IfyourTransactionSourcesetupforBillToAddressis:Value,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.ORIG_SYSTEM_BILL_ADDRESS_REFId,thenyoushouldbepopulatingRA_INTERFACE_LINES_ALL.ORIG_SYSTEM_BILL_ADDRESS_ID

    ScripttofindincompleteSitesetupforAutoAccounting

    ThefollowingscriptwillpickupCustomerSitesthatdonothavealltheGLaccountssetupattheBillToSite.

    Youcanlimittherowsreturnedbyfilteringaddingaconditiononparty_name,orjustcheckingforaparticularGLaccount,orbyprocessinginbatchesusingaconditionlike:andrownum

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWi 11/15

    'DRAWEE','NOTAPPLICABLE')gl_id_unearn,decode(site_uses.SITE_USE_CODE,'BILL_TO','NOTAPPLICABLE','DRAWEE',nvl(to_char(site_uses.GL_ID_UNPAID_REC),'NULLUNPAIDREC'))gl_id_unpaidrec,decode(site_uses.SITE_USE_CODE,'BILL_TO','NOTAPPLICABLE','DRAWEE',nvl(to_char(site_uses.GL_ID_REMITTANCE),'NULLREMITTANCE'))gl_id_remittance,decode(site_uses.SITE_USE_CODE,'BILL_TO','NOTAPPLICABLE','DRAWEE',nvl(to_char(site_uses.GL_ID_FACTOR),'NULLFACTOR'))gl_id_factorFROMHZ_PARTIESPARTY,HZ_PARTY_SITESPARTY_SITE,HZ_CUST_ACCOUNTS_ALLCUST_ACCT,HZ_LOCATIONSLOC,HZ_CUST_ACCT_SITES_ALLACCT_SITES,HZ_CUST_SITE_USES_ALLSITE_USESWHEREparty_site.LOCATION_ID=loc.LOCATION_IDANDparty.PARTY_ID=cust_acct.PARTY_IDANDcust_acct.CUST_ACCOUNT_ID=acct_sites.CUST_ACCOUNT_IDANDacct_sites.CUST_ACCT_SITE_ID=site_uses.CUST_ACCT_SITE_IDANDparty_site.PARTY_SITE_ID=acct_sites.PARTY_SITE_IDANDsite_uses.SITE_USE_CODEin('BILL_TO','DRAWEE')ANDsite_uses.STATUS='A'AND((site_uses.SITE_USE_CODE='BILL_TO'AND(site_uses.GL_ID_RECISNULLORsite_uses.GL_ID_REVISNULLORsite_uses.GL_ID_FREIGHTISNULLORsite_uses.GL_ID_CLEARINGISNULLORsite_uses.GL_ID_TAXISNULLORsite_uses.GL_ID_UNBILLEDISNULLORsite_uses.GL_ID_UNEARNEDISNULL))OR(site_uses.SITE_USE_CODE='DRAWEE'AND(site_uses.GL_ID_RECISNULLORsite_uses.GL_ID_UNPAID_RECISNULLORsite_uses.GL_ID_REMITTANCEISNULLORsite_uses.GL_ID_FACTORISNULL)))ANDEXISTS(SELECT'x'FROMRA_ACCOUNT_DEFAULTS_ALLa,RA_ACCOUNT_DEFAULT_SEGMENTSsWHEREs.GL_DEFAULT_ID=a.GL_DEFAULT_IDANDs.CONSTANTisnullANDs.TABLE_NAME='RA_SITE_USES')

    2.ValidatetheShippingInventoryOrganization

    IftheShippingandSellingorganizationsaredifferent,witheachbelongingtoadifferentSetofBookseachsetupwithadifferentChartofAccounts,youmaygetanerrorsuchasthefollowing,evenwhenyourAutoAccountingsetupiscomplete.

    Pleasecompleteyourtaxaccountingflexfieldor

    Pleasecorrecttherevenueaccountassignment

    ThisissueismanifestedbecausetheChartofAccountsforeachsetofbookshasadifferentnumberofsegments,forexample:

    SellingOrganizationGLaccountshas13segmentsShippingOrganizationGLaccountshas7segments

    Currentfunctionalitywasnotdesignedtohandlethisscenario.Anenhancementrequesthasbeenloggedforthisissue,viaBug2432013.

    3.IfyouarepassingDatainRA_INTERFACE_DISTRIBUTIONS_ALL

    IfyouarepassingthedistributionsinRA_INTERFACE_DISTRIBUTIONS_ALL,adngetthefollowingerrors:

    EXCEPTION:arp_auto_accounting.do_autoaccounting_internal()ORA20000:APP15482:Pleasecorrectthereceivableaccountassignment

    Thingstocheck:

    IfyouwantAutoAccountingtodetermineyourgeneralledgeraccountsyoumustnotentervaluesinRA_INTERFACE_DISTRIBUTIONS_ALL.

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWi 12/15

    RA_INTERFACE_DISTRIBUTIONS_ALL.IfyouwanttobypassAutoAccounting,thenyouneedtoprovidecompleteinformationinthedistributiontablefortheACCOUNT_CLASSdistributionsyouintendtoprovide.Ifyouareinamultiorginstance,ensurethatyouhaveincludedtheORG_IDvalueinthedistributionsyoupass,andthatthevalueisconsistentacrosstheinterfacetables.CheckthattheINTERFACE_LINE_CONTEXT+INTERFACE_LINE_ATTRIBUTE*valuesyouprovideintheRA_INTERFACE_DISTRIBUTIONS_ALLtablematchthevaluesinthecorrespondingrowsinRA_INTERFACE_LINES_ALL,sothatAutoInvoicecanmatchupthetransactiontoitsproperdistributions.

    4.Checktheprofileoption:AR:UseInvoiceAccountingforCreditMemos

    IfyouareimportingCreditMemos,andyouencountertheerror:Pleasecorrecttherevenueaccountassignment,verifywhetheryouwouldlikethecreditmemotousethesameGLaccountsoftheInvoiceitiscrediting.Ifyes,thencheckyoursettingfortheprofileoption:AR:UseInvoiceAccountingforCreditMemos.Ifthesettingis:

    Yes,ReceivablesdoesnotuseAutoAccountingtocreatethedefaultvaluesfortheseaccounts.Instead,creditentriesarecreatedusingtheGLaccountsoftheinvoiceordebitmemoyouarecrediting.No,ReceivableswillgenerateGLaccountsforthecreditmemobasedontheAutoAccountingsetup

    5.CheckiftheGLaccountexistsandisactive

    OnceallthesegmentsofyourGLaccounthavebeenderivedbyAutoAccounting,checkifitexistsandisactive.

    Responsibility:ReceivablesManagerNavigation:Setup>Financials>Accounting>GLaccounts

    QueryforAccount=theGLaccountsegments,forexample:Queryfor0310013240000000.

    TheformwilldisplaywhethertheGLaccountexists,ifitisenabledandactive.

    Alternatively,ifyouwanttocheckwhetheraparticularcode_combination_id(ccid)valuereferstoavalidandactiveGLaccount,youcanrunthefollowing:

    selectenabled_flag,start_date_active,end_date_activefromGL_CODE_COMBINATIONSwherecode_combination_id=&ccid

    6.VerifyAccountingFlexfieldsettingforEnabledandAllowDynamicInserts

    ConsideringAutoAccountingwillderiveandbuildGLaccountsonthedemand,youshouldcheckwhetheryouallowtheAccountingFlexfieldtododynamicinserts.

    Ifyourbusinessprocessallowsdynamiccreationofnewcodecombinations,setthecheckboxtoYes.

    Responsibility:ReceivablesManagerNavigation:Setup>Financials>Flexfields>Key>Segments.

    QueryonFlexfieldTitleAccountingFlexfieldLocatetherecordfortheAccountingFlexfieldStructureyouareusingchecktheEnabledandAllowDynamicInsertscheckbox

    Ifyourbusinessdoesnotallowdynamicinserts,thenyouneedtoreviewwhyAutoAccountingattemptedtogenerateacodecombinationthatyouhavenotyetsetup.Ifyouverify,thatthenewcodecombinationisvalidyou

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWi 13/15

    generateacodecombinationthatyouhavenotyetsetup.Ifyouverify,thatthenewcodecombinationisvalidyouneedtocreatethecodecombinationmanuallytoavoidtheerrornexttimethesamecodecombinationisderived.

    Responsibility:ReceivablesManagerNavigation:Setup>Financials>Accounting>GLAccounts

    7.VerifywhethertheGLaccountdoesnotviolateanycrossvalidationrulesofthesegments.

    Responsibility:SystemAdministratorNavigation:Application>Flexfield>Key>CrossValidation

    QueryforTitle=AccountingFlexfieldStructure=ProvidetheStructureyouareusingThenreviewtherulesandseeiftheGLAccountyouareusinghassegmentswhichfallintotherangesexcluded.

    References:

    Note1080995.1TroubleshootingAutoAccountinginAutoInvoiceprovidesastepbystepoverviewofhowtotroubleshootissueswithAutoAccounting.ThisisrecommendedasastartingpointforallAutoAccountingissues.

    MakesureyouhavethesetupcompletedforFreightinyourautoaccountingifyouencounterthiserror.Alsochecktoseeifyouareinvoicingfreightasrevenue.RefertoNote764297.1HowTaxonFreightWorksinR12OrdertoCash

    8.CheckforPossibleKnownBugs

    Whensetuphasbeenruledoutasapossiblerootcause,itisoftengoodtoinvestigatebugstoseeifanyproblemshavebeenreportedwiththiserror.ItisnotuncommonforabuginAutoInvoicetopresentwithanAutoaccountingerror.ThisoccurswheneverAutoInvoicecannotderivedataforoneofthesourcesusedbyyourAutoAccountingsetup.Forexample,ifyourAutoAccountingusestheSalesRepbutabugispreventingthesystemfromfindingthesalesrep,theproblemcouldshowupasanerrorinderivingtheaccount.

    Thetablebelowlistsbugsthathavebeenreportedasofthelastupdatedateforthisnotewhichcausethissymptom.

    # Release/AutoAccountingSource/ErrorinLog

    Cause Fix

    1 Release11.512.1AutoAccountingSource:NospecificsegmentErrorinlogfile:Noadditionalerrors

    TheGLAccountwasnotsetuptoPOST. UpdatetheGLaccounttoallowforposting

    2 Release:11.5/R12AutoAccountingSource:NoSpecific

    Anincorrectprocessingorderforinvoicesandcreditmemos.Theusercreatesthesalesorder,createsthereturn,thenrunsAutoInvoiceatonceforalltransactions.

    1.ProcessallinvoicesviaAutoInvoice.2.Processtheassociatedcreditsina

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWi 14/15

    Source:NoSpecificSegmentErrorinLogFile:Noadditionalerror

    return,thenrunsAutoInvoiceatonceforalltransactions.Theinvoiceshouldbecreatedfirst.

    Theprofileoption,AR:UseInvoiceAccountingForCreditMemos,issettoYes.Ifboththeinvoiceandthecreditarecomingoveratthesametime,theerrorisreceivedbecausethereisnotyetaccountingfortheinvoicewhenAutoAccountingislookingforrevenueaccountinformationforthecredit.

    2.ProcesstheassociatedcreditsinaseparateAutoInvoicerun.

    3 Release:11.5/R12AutoAccountingSource:NoSpecificSegmentErrorinLogFile:Noadditionalerror

    Incompletesetup.

    Theinventoryitemidassociatedwiththefreightlinehasawarehouseidthathasnotbeendefinedfortheinventoryitem.

    CheckthetableMTL_SYSTEM_ITEMS_Bandverifythattheinventoryitemandwarehousecombinationexists.

    4 Release:11.5AutoAccountingSource:MemoLinesErrorinLogFile:Noadditionalerror

    Zeroamountfreightlines(line_type=line,description=freight)arefailingwitherror:"Pleasecorrecttherevenueaccountassignment".

    SettingtheprofileoptionTax:InvoiceFreightasRevenuetoYesatalllevels,andthencreatingafreightitemandassigntotheprofileoptionTax:InventoryitemforfreightinSystemAdministratorresponsibility

    5 Release:11.5/R12AutoAccountingSource:MemoLinesErrorinLogFile:Noadditionalerror

    PresentsasAutoInvoiceExceptioninreportOccurswhenIntercompanyFreightisprocessedandamemolineisused.AccountwasnotsetontheMemoLinesetupform

    Option1ReceivablesManagerSetup>Transactions>MemoLines.QueryName:IntercompanyFreight.MakesuretheRevenueaccounthasbeendefined.Option2Setupfreightsothatitcomesinasrevenue.SeeNote764297.1HowTaxonFreightWorksinR12OrdertoCash

    6 Release:11.5AutoAccountingSource:NospecificsourceErrorinLogFile:Noadditionalerror

    ThisisacodebuginpackageLNS_PAYOFF_B.pls.ThebugfixchangesthecodethattheloansaccountingisusedinsteadofusingautoaccountingfromAR

    Thisisexplainedinthefollowingbug:BUG6683166UNABLETOPROCESSLOANPAYOFFWITHMANUALFEESADDITIONATTHETIMEOFPAYOFF

    FixedFile:LNS_PAYOFF_B.pls115.16

    RecommendedPatchpatch6683166.

    7 Release:11.5AutoAccountingSource:NospecificsourceErrorinLogFile:YoumustsupplysalescreditassignmentsforthistransactionbecausesystemoptionRequireSalesrepsissettoYES

    Bug7142942Erroroccurswhensalescreditsarerequiredinthisoperatingunit.

    Receivablesresponsibility

    Setup>System>SystemOptions>Miscellaneousandmakesure'RequireAgent'(orRequireSalesperson)ischecked.CheckRequireSalespersontoensurethatrecordsalesrep_id=3willpopulatecorrectlyinsalescreditinterfacetable.

    8 Release12.xAutoAccountingSource:NospecificsourceErrorinReport:Pleasecorrecttherevenueaccountassignment

    Itemoncreditmemoshouldmatchtheitemontheinvoicebeingcredited.YoucannotcreateaCreditmemowithaninventoryitemandapplyittoanInvoicewithoutaninventoryitem.SincetheProfileOptionAR:UseInvoiceAccountingforCM=Yes,theprocesscannotderivethecorrectaccountingtouseforthecreditmemo.

    YoucaninterfacethecreditmemoasOnAccountinstead,byremovingtheREFERENCE_*fieldsthattieittotheInvoice.

    9.UsetheAutoInvoicePostProcessValidationReport

    ThereisanewAutoInvoiceValidationReportthatprovidesmoredetailsincludingrecommendationsandactionitemsyoucanfollowtofixAutoInvoiceImportValidationErrors.ReadmoreaboutthisnewreportinNote1523525.1

    StillHaveQuestions?

    TodiscussthisinformationfurtherwithOracleexpertsandindustrypeers,weencourageyoutoreview,joinorstartadiscussionintheMyOracleSupportReceivablesCommunity.

  • 4/6/2015 Document1088251.1

    https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=219345375820705&id=1088251.1&_adf.ctrl%C3%A2%E2%82%AC%C2%A6=&_afrWi 15/15

    discussionintheMyOracleSupportReceivablesCommunity.

    Toprovidefeedbackonthisnote,clickontheRatethisdocumentlink.

    REFERENCES

    NOTE:1523525.1R11i/12:AR:AutoInvoicePostProcessAnalyzer:OverviewandInstallationInstructions

    RelatedProducts

    OracleEBusinessSuite>Projects>Projects>OracleProjectBilling>Invoices>InvoicesOracleEBusinessSuite>OrderManagement>OrderManagement>OracleOrderManagement>Sales&Marketing>InterfacebetweenOMandTelesalesOracleEBusinessSuite>FinancialManagement>CredittoCash>OracleReceivables>TransactionsRelated>AutoInvoice(RAXTRX)OracleEBusinessSuite>FinancialManagement>Leasing>OracleLeaseandFinanceManagement>UsageBasedBilling>UsageBasedBilling

    KeywordsARXTWMAI.FMB AUTOINVOICE AUTOINVOICEIMPORTPROGRAM PROGRAM RECEIVABLE REVENUE

    BacktoTop Copyright(c)2015,Oracle.Allrightsreserved. LegalNoticesandTermsofUse PrivacyStatement