Code: [#Menu: Gateway Of Tally] Add : Item :Cash Sales Report : Display : Cash Sales Report [Report: Cash Sales Report] Form : CashsalesReport ;Object : Company [Form: CashsalesReport] Part : CashsalesReportTitle, CashsalesReportDt1 height : 100% Screen Width: 100% Screen [Part:CashsalesReportTitle] Line: CashsalesReportTitle [Line:CashsalesReportTitle] Field:CashsalesReportTitle [Field:CashsalesReportTitle] Use: name field Set as: "Cash Sale Report" Full Width:Yes Style: Small Bold Align:Center [Part:CashsalesReportDt1] Line: cashsalestitleline,CashsalesDtLine Repeat:CashsalesDtLine:Cashsalescoll Common Border:Yes Scroll:Vertical Border : Thin Left Right [Collection:cashsalescoll] Type: vouchers:vouchertype Child Of:$$VchTypeSales Belongs To: Yes Fetch: date, vouchernumber, basicbuyername, amount Filter:onlycashEntries [System:Formulas] onlycashEntries: $$IsLedOfGrp:$partyledgername:$$GroupCash [Line:cashsalestitleline] Field: cs sno, cs billdate, cs billno, cs partyname, cs totalbillamt Local:Field: cs sno:Set as: "S.no" Local:Field:cs billdate:Set as: "bill Date" Local:Field:cs billno:Set as: "Bill No." Local:Field:cspartyname:Set as: "Party Name" Local:Field:cs totalbillamt:Set as: "Total Bill Amount" Border : Thin Left Right bottom [Line:CashsalesDtLine] Field: cs sno, cs billdate, cs billno, cs partyname, cs totalbillamt [Field: cs sno] Use:number Field Set as: $$Line Border : Thin Left Right bottom [Field: cs billdate] Use: uni Date Field Set as: $date Border : Thin Left Right bottom [Field:cs billno] Use:name Field Set as:$vouchernumber Border : Thin Left Right bottom [Field: cs partyname] Use:name field Set as:$basicbuyername Border : Thin Left Right bottom [Field: cs totalbillamt] Use:amount Field Set as: $amount Border : Thin Left Right bottom credit goes to Orignal Devolper Orvolo
Also try this one & Enjoy........ And try to learn with this code.also try to modify fields and try to make something different from this. No matter that you are beginner or started later. Practice Works Always. Happy to Help.
Hi Sir, How to get the second line in this report?, (Like received cash from party A-500, Party B,-1500, total 2000, accounted in single entry.) Thanks in Advance