Dear Experts, I am am passing a auto entry through selected voucher from a partucular report,, When i try to pass entry it give software excess violation error,, Pls help mee on this.. [Button:ENT] Title:"ENTRY POST" Key:F9 Action:Call:ReceiptVchCreate;new;ReceiptVchCreate [Collection : ReportSelectColl] Data Source : Report : Selected Fetch : * [Function: ReceiptVchCreate] Variable : COMMLEDGER : String Variable : PartyAmount : Amount Variable : Counter : Number 010 : Set : COMMLEDGER : $LedgerName 020 : Set : PartyAmount : $MyDiscount 25a : Walk Collection : ReportSelectColl 20 : SET : SVViewName : $$SysName:AcctgVchView 25 : New Object : Voucher 30 : Set Value : VOUCHERNUMBER : $$String:1 35 : Set Value : Date : $$Date:$MachineDate;"1.5.2014" 40 : Set Value : VOUCHERTYPENAME : $$VchTypeCreditNote 45 : Set Value : PARTYLEDGERNAME : ##COMMLEDGER;"Vikas";##COMMLEDGER;##LedgerName 50 : SET VALUE : IsInvoice : Yes 55 : Insert Collection Object:ALLLEDGERENTRIES 60 : Set Value : LEDGERNAME : ##COMMLEDGER;"Vikas";##COMMLEDGER;##LedgerName 65 : Set Value : ISDEEMEDPOSITIVE : No 70 : Set Value : ISPARTYLEDGER : Yes 75 : Set Value : AMOUNT : $$AsAmount:$MyDiscount;"100";$$AsAmount:1*-1 80 : Insert Collection Object:BILLALLOCATIONS 85 : Set Value : NAME : 1 90 : Set Value : BILLTYPE : "New Ref" 95 : Set Value : AMOUNT : $$AsAmount:$MyDiscount;"100";$$AsAmount:1*-1 100 : Set Target:... 105 : Insert Collection Object:ALLLEDGERENTRIES 110 : Set Value : LEDGERNAME : "DISCOUNT" 115 : Set Value : ISDEEMEDPOSITIVE : Yes 120 : Set Value : ISLASTDEEMEDPOSITIVE : Yes 125 : Set Value : AMOUNT : $$AsAmount:$MyDiscount;100;##PartyAmount;$$AsAmount:1 130 : Set Target:.. 130a:End Walk ;135 : SET VALUE : PersistedView : ##SVViewName 140 :CREATE TARGET 145 : Increment : Counter 150 : MSG BOX : "Info" : "Credit Note Voucher Created" 160 :Save Target