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

HowtoAuditChangestoOrdersUsingAuditHistory

ThefollowingexampleillustrateshowtoauditwhenachangeismadetothePaymentTermsofanorderthatis bookedwithareasonastowhyitwaschanged. ThestepstoinitiateAuditHistoryare 1. Toturnaudithistoryonatthesitelevel, NavigatetoasfollowingbyusingOrderManagementSuperuserResponsibility Setup Systemparameters values 2. ChangeAuditTrailfromDisabletooneoffollowing a. EnableWhenOrderisentered Thiswillinitiateauditingwhenachangeismadetoaspecifiedfieldaftertheorderhasbeensaved b. EnableWhenOrderisBooked Thiswillinitiateauditingwhenachangeismadetoaspecifiedfieldaftertheorderhasbeenbooked

HereItookexampleEnablewhenOrderisBooked 3. Toidentifyaspecifiedfieldwhenchangedthatwillbeaudited, Navigateto Setup Rules Security>ProcessingConstraints

4.

Queryuponeofthefollowingentities: a) OrderHeader b) OrderLine c) OrderSalesCredit d) OrderPriceAdjustment e) LineSalesCredit f) LinePriceAdjustment Inthisexample,Ihaveselectentitytypeof"OrderHeader"

5.

Movecursoronthefieldtobeauditedintheconstraintsblockandclicktheplusiconinthetoolbar. Thiswilladdanewrowwhereinformationcanbeentered. Inthisexample,Ihaveenteredthefollowing: a) Operation:Update b) Attribute:PaymentTerm c) UserAction:RequiresReasonandhistory

If"RequiresReasonandhistoryisselected&quote;whenthefieldischanged,areasonwindowwill alwaysappearandareasonwithoptionalcommentsmustbeentered.Historywillbecaptured. If"RequiresHistory"isselected,areasonwindowwillnotappearwhenmakingachangeandhistory willbecaptured.ThereisalwaystheflexibilityofenteringareasonbynavigatingtoTools>Change Reason. 6. NowchangetotheConditionstabintheformandenterthefollowing: a. Group#(mustgreaterthen100)Itook101 b. Scope:All c. Validationentity:OrderHeader d. Recordset:Order e. Validationtemplate:Booked f. UserMessage(Messagewhichyouwanttodisplay)ThisIsTestRuleforDemonstration (PaymentTerms)

7. Navigatetotheapplicabletotab. Theauditisapplicableto"AllResponsibilities.SoIselecthere"AllResponsibilities"

Nowcreatethenecessarysourceforthenewconstraint Forthispurposenavigateto Setup Rules Security GenerateConstraintValidationPackages Thisisaconcurrentprogramandsubmitswithrequestid.

8.

9.

ToCheckProcessingconstraintwhichareappliedrunreport

10. Totestthisfunctionalitywenavigateto Orders,Returns>SalesOrders. Enteracustomernumberandfieldswilldefaultinbaseduponthedefineddefaultingrulesandtransactiontype ChangetoLinetabandenteranitemsavetheorder.ItwillbeinanEnteredphaseorstatus.

Changetotheothertabandmakeachangetothepaymentterms.Therewillbenopromptfora reasonandnohistorywillbecapturedbecauseAuditTrailissetonAudittrialwhenbooking. 12. NowBooktheOrder

11.

13.

Changetotheothertabandmakeachangetothepaymentterms.

14. Areasonwindowwillappear.Selectareasonandenteroptionalcomments.

15. TogetdatainAuditHistoryReportitisnecessarytorunAuditHistoryConsolidatoronascheduled basisitisaconsolidationprogramthatwillextracttheauditinformationandaddittoahistoryfilefor furtherusebyAuditHistoryReport. Navigateto Reports,Request RunRequestsandsubmitAuditHistoryConsolidatorbyfollowingparametres

16. NowtimetorunAudithistoryreport Navigate Reports,Request RunRequestsandsubmit

Checkoutputofabovereport

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