Вы находитесь на странице: 1из 5

7/23/2016 Document 1478292.

R12AccrualReconciliationDiagnosticsAndTroubleshootingGuide(DocID1478292.1)
Modified: 18Oct2014 Type: DIAGNOSTICTOOLS

InthisDocument

MainContent
Purpose
ExecutionSteps
Instructions
Script
SampleOutput
TroubleshootingSteps:
StillhaveQuestions?
References

APPLIESTO:

OraclePurchasingVersion12.0.0andlater
OracleCostManagementVersion12.0.0andlater
Informationinthisdocumentappliestoanyplatform.

MAINCONTENT

Purpose

TheAccrualDiagnosticsscriptisdesignedtoberunwhenthereisareconciliationissuebetweensubledgerandGL.The
AccrualDiagnosticsscriptisdesignedtospoolfulltablecontentstoahtmlfile.Itisbeingcreatedtoallowcustomerstorun
asinglescripttoretrievealldatafromvarioustablesinsteadofhavingtorunindividualscriptsspoolingtomultiplefiles.

AccrualDiagnosticsscriptcontainsScriptNo.1toScriptNo.13whichcanbereviewedinattachmentINDIVIDUALSQL
QUERY.

SoftwareRequirements/Prerequisites:
SQL,SQL*Plus

ExecutionSteps

Step1DownloadandsavethescriptlinkedhereAccrual_Diagnostics_html.sqltoadirectoryonthecomputerwherethe
scriptwillbeexecuted.
Forexample:c:/tmp

Step2Openthescriptinthesqlplusclientattached.Byopeningthefileinthesqlplusclientthescriptoutputwillbe
createdinthesamedirectoryfromwhichthefileisopened.Thisstepisoptional.

Step3Proceedtoexecutethescript.(Seeinstructionsbelow)

PLEASENOTETheSQLPlusversionshouldbehigherthan8.1.7.X.

https://support.oracle.com/epmos/faces/DocContentDisplay?_adf.ctrl-state=h4x0205ij_480&id=1478292.1 1/5
7/23/2016 Document 1478292.1

Theabovescreenshotshowsasqlplussessionwherethereleaseisabove8.1.7.X.

Thebelowscreenshotisshowinganimpropersession.

NoteSQLPLUSreleasestates8.0.6.0.0thisproducesalargetextoutputthatisnotcorrect.

Instructions

1.Inthesqlplusengagethescriptbygivingthecommand'@Accrual_Diagnostics_html.sql'

https://support.oracle.com/epmos/faces/DocContentDisplay?_adf.ctrl-state=h4x0205ij_480&id=1478292.1 2/5
7/23/2016 Document 1478292.1

2.EntertheAccrualCodeCombinationIDfortheproblematicAccrualAccount:

IfaCompanyhasMultipleAccrualAccounts,inordertoavoidconfusiononeshoulddothereconciliationforone
accrualaccountatatime.

ToknowtheCodeCombinationId,thebelowquerycanbeused:

SelectCode_Combination_IdfromGl_Code_Combinations_Kfvwhereconcatenated_segments
='&Problematic_Accrual_Account'

3.EntertheStartDateofReconciliation(InFormat:DDMONYYYY):

StartdateisthestartdateofthefromperiodgivenintheAccountAnalysisreport.

4.EntertheEndDateofReconciliation(InFormat:DDMONYYYY):

EndDateistheenddateofthetoperiodgiveninAccountAnalysisreport.

5.EntertheLedgerID:

ProperLedgerIDforthereconciliation.

6.EntertheOperatingUnitID:

ProperOperatingUnitID.

7.TherearefiveareasthescriptiscollectingdatarelatedtothecodeCombinationID,StartDate,EndDate,LedgerID
andOperatingUnitIDSelected.

AccrualbalanceinSubLedgerAccounting(SLA)fortheSourceCostManagement
AccrualbalanceinSLAfortheSourcePayables
AccrualBalanceinGeneralLedger(GL)fortheSource:CostManagementandPayables
OtherGeneralLedgerArea
OtherXLAdataforthesourceCostManagementandAccountsPayables(AP)

Caution

ThissamplecodeisprovidedforeducationalpurposesonlyandnotsupportedbyOracleSupportServices.Ithasbeen
testedinternally,however,andworksasdocumented.Wedonotguaranteethatitwillworkforyou,sobesuretotestitin
yourenvironmentbeforerelyingonit.

Proofreadthissamplecodebeforeusingit!Duetothedifferencesinthewaytexteditors,emailpackagesandoperating
systemshandletextformatting(spaces,tabsandcarriagereturns),thissamplecodemaynotbeinanexecutablestate
whenyoufirstreceiveit.Checkoverthesamplecodetoensurethaterrorsofthistypearecorrected.

https://support.oracle.com/epmos/faces/DocContentDisplay?_adf.ctrl-state=h4x0205ij_480&id=1478292.1 3/5
7/23/2016 Document 1478292.1

Script

TheAccrualdiagnosticsscriptispullingalltabledatarelatedtothecodeCombinationID,StartDate,EndDate,LedgerID
andOperatingUnitIDSelected.

SampleOutput

TroubleshootingSteps:

ReviewtheAccrualDiagnosticsreportoutputforScripts113andperformthereconciliation.

1.SincetheAccrualReconciliationreportshowsaccrualbalancesfortransactionspertainingtothesourcesCost
ManagementandPayables,accrualbalancefromAccountAnalysisreportshouldbeconsideredonlyforthesetwo
sources.ScriptNo.1providestheaccrualbalanceinGLfortheSource:CostManagementandPayables.ScriptNo.1will
returnthenetaccrualbalanceforeachperiod.Takesummationofallthenetaccrualbalancesreturnedbythisscriptforall
corespondingperiods.

2.SubmittheAPandPOReconciliationSummaryreportfromthePurchasing(PO)responsibilityandnotedownthe
accrualbalanceforthesameaccrualaccount.Comparetheaccrualbalanceinthereportwithsummationofnetaccrual
balancederivedinstep1.Ifthereisadifference,performthefollowingsteps:

a.GettheaccrualbalanceforPayablessourceinSLAfromtheoutputofScriptNo.2.

b.GettheaccrualbalanceforCostManagementsourceinSLAfromtheoutputofScriptNo.3.

c.SumtheaccrualbalancesofPayablesandCostManagementinSLA.

3.Ensuretheoutputof2cisequaltotheoutputnetaccrualbalancederivedinstep1.Iftheyarenotequalthen:

a.CheckanyrowsreturnedforScriptNo.4.
Ifyes,thenthisconfirmstherearesomeunpostedaccrualjournalsinGL.EnsurethesearepostedandScriptNo.4returns
norows.AgainrunthediagnosticsAccrual_Diagnostics.sqlandstartfromstep1.

b.CheckanyrowsreturnedforScriptNo.5.
IfScriptNo.5returnedoutputthenrefertoNote883557.1,orapplyIN_SLA_NOT_IN_GL_dfix.txtandrunTransferJournal
entriestotheGLprogram.AgainrunthediagnosticsAccrual_Diagnostics.sqlandstartfromstep1.
https://support.oracle.com/epmos/faces/DocContentDisplay?_adf.ctrl-state=h4x0205ij_480&id=1478292.1 4/5
7/23/2016 Document 1478292.1

c.CheckanyrowsreturnedforScriptNo.6.

ifscript6returnedoutputthenrefertoNote604893.1,SectionR12SLAPOSTUPGRADE.Iftheperiodsarealready
upgradedthenrefertoNote1472099.1.AgainrunthediagnosticsAccrual_Diagnostics.sqlandstartfromstep1.

4.Ifoutputof2cisnotequaltoaccrualbalanceinAPandthePOReconciliationSummaryreport,checkifanyrowsare
returnedbyScriptNo.7.

IfScriptNo.7returnedoutputthentheGLbalanceincludestheaccrualspertainingtothePeriodendaccruals,whereas
theAPandPOReconciliationreportwillnotconsidertheperiodendaccrual.HencetheGLaccrualbalanceforperiodend
accrualhastobesubtractedfromthetotalaccrualbalance.SubtracttheoutputofScriptNo.7fromtheoutputofScript
No.1andcomparewithoutputof2C.

5.CheckifthereareanyrowsreturnedbyScriptNo.8.IfScriptNo.8returnedoutputthenthevaluereturnedbythisquery
needstobesubtractedfromtheaccrualbalancenotedinstep1andthencompareitwiththeoutputof2C.

6.Ifthereisstilladifference,checkifScriptNos.9,10,and11returnedanyoutput.Ifrecordsarereturned,raiseaService
RequestwithOraclesupport,uploadingthereportoutputandtheSupportteamcanlogabugwithSLADevelopment.

StillhaveQuestions?

JoinourgrowingOracleProcurementCommunityandlearnfromyourpeersandOracleonhowtoaddressyourunique
issuesinProcurement.

YoucanaccessthemainOracleCommunitiespageathttp://communities.oracle.com(Ifyouareenrolled,the
Procurementcommunitywillbelistedonyourleft.Ifyou'renotalreadyenrolledintheProcurementcommunity,youcan
dosobyclickingonthelinkEditSubscriptions).

OR

From"MyOracleSupport"asfollows:

LogintoMyOracleSupport.
Clickonthe'Community'linkatthetopofthepage.
Clickin'FindaCommunity'fieldandenterProcurement.
DoubleclickonProcurementinthelist.
Clickonthe'CreateaCommunityPost'buttonandsubmityourquestion.
Didn'tfindwhatyouarelookingfor?

https://support.oracle.com/epmos/faces/DocContentDisplay?_adf.ctrl-state=h4x0205ij_480&id=1478292.1 5/5

Вам также может понравиться