Showing posts with label Credite Control. Show all posts
Showing posts with label Credite Control. Show all posts

Wednesday, March 14, 2018

Connecting Tally.ERP 9 to Microsoft Excel 2007 using ODBC

Connecting Tally.ERP 9 to Microsoft Excel 2007 using ODBC

Tally ODBC helps you to extract the Data from Tally.ERP 9 and design the reports in MS Excel 2007.
To extract

Step 1: Enable ODBC

1. Start Tally.ERP 9. It should be open till the process is complete.
2. Ensure that the ODBC Server is running. You can confirm this when the message Running as ODBC Server is displayed in the Configuration block of Information Panel (at the bottom) of Tally.ERP 9 screen, as shown:
In case, the ODBC Server is not running, enable the ODBC Server
· From Gateway of Tally or Company Info menu, press F12 Configure > Advanced Configuration.
· In the Client/Server Configuration screen, set Enable ODBC Server to Yes.

Step 2:

1. Start Microsoft Office 2007.
2. Click Data.
The sub options of Data menu appears as shown:

3. Click From Other sources .
4. Select From Microsoft Query .
Choose Data Source dialog box appears.
5. Select TallyODBC.
Tally.ERP 9 connects to data source and displays Query Wizard – Choose Columns dialog box.
6. Select the columns you would want to include in the query. Select Ledger and Click > button to the right of the following fields: (For example, $Parent)

7. Click Next .
The Query Wizard - Filter Data dialog box appears.
8. Set the filter conditions in the Filter Data dialog box to limit the data to those that match your criteria.
9. Click Next .
The Query Wizard - Sort Order dialog box appears.
10. Sort the data in ascending or descending order as per the requirement.
11. Click Next.
The Query Wizard - Finish dialog box appears.
The option Return Data to Microsoft Office Excel will be selected, by default.
12. Click Finish.
Once the Query Wizard process is complete, the dialogue box entitled Import Data appears.
13. Click OK .
The excel sheet will display the report as shown below:

Tuesday, December 19, 2017

Attach any document to voucher entry in Tally.ERP9

In this post i have share code for attaching document to voucher entry and opening that document from within Tally.ERP9. This is very useful at the place were we want our documents to be in soft copy and does not want to maintain hard copy of each and every stuff.

To know how to attache any tdl to tally please visit
http://tallyexperttips.blogspot.in/2017/09/how-to-attach-any-tallyerp9.html


[#Form: Sales Color]
Add    :Button    :Open Attachement

[#Form: Contra Color]
Add    :Button    :Open Attachement

[#Form: Payment Color]
Add    :Button    :Open Attachement

[#Form: Receipt Color]
Add    :Button    :Open Attachement

[#Form: Journal Color]
Add    :Button    :Open Attachement

[#Form: Payroll Color]
Add    :Button    :Open Attachement

[#Form: Debit Note Color]
Add    :Button    :Open Attachement

[#Form: Credit Note Color]
Add    :Button    :Open Attachement

[#Form: Purchase Color]
Add    :Button    :Open Attachement

[#Form: Memorandum Color]
Add    :Button    :Open Attachement

[#Form: Reversing Journal Color]
Add    :Button    :Open Attachement

[#Form: Stock Journal Color]
Add    :Button    :Open Attachement

[#Form: Delivery Note Color]
Add    :Button    :Open Attachement

[#Form: Receipt Note Color]
Add    :Button    :Open Attachement

[#Form: Rejection Inward Color]
Add    :Button    :Open Attachement

[#Form: Rejection Outward Color]
Add    :Button    :Open Attachement

[#Form: Physical Stock Color]
Add    :Button    :Open Attachement

[#Form: Sales Order Color]
Add    :Button    :Open Attachement

[#Form: Purc Order Color]
Add    :Button    :Open Attachement

[#Form: Indent Color]
Add    :Button    :Open Attachement

[#Form: Attendance Color]
Add    :Button    :Open Attachement

[#Form: JobOrderIn Color]
Add    :Button    :Open Attachement

[#Form: JobOrderOut Color]
Add    :Button    :Open Attachement

 [Button : Open Attachement]
Title : $$LocaleString:"Open Attachement"
Key : Ctrl + O
Action :Browse Url Ex : #HyperlinkCompany

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[#Part: VCH Narration]
Add : Switch    : BankDetRcpt : BankDet VCH Narration

[!Part: BankDet VCH Narration]
Add : Line : HyperlinkCompany

[Line: HyperlinkCompany]
Fields  : Short Prompt, HyperlinkCompany
Local   : Field : Short Prompt : Info: $$LocaleString:"Supporting Doc."

[System: UDF]
hyper1 : String    : 1101

[Key : Execute Hyperlink1]
Title: Exc
Key : Left Click
Action : Browse Url Ex: “www.onetouchsolution.co.in”

[Field: HyperlinkCompany]
Use         : Name Field
Color : Blue
;Border : Thin Bottom
Key : Execute Hyperlink1
Storage : hyper1
Local : Key : Execute Hyperlink1 : Action :Browse Url Ex: "D:\DOCUMENTS\" + $VoucherTypeName +"\"+ #HyperlinkCompa
Skip: $$InAlterMode
Fullwidth:yes

After adding this you will bed able to find new field on each voucher shown as below.


you need to specify the complete path of the document including extension as show below and save the voucher.


After that when you edit the voucher you should be able to see the document as shown below.

and now you can open this document from within Tally by pressing Open Attachment Button on the right hand side.








Thursday, December 7, 2017

Block Invoicing After Credit Day Overdue Free Tally TDL

As we all know that Tally.ERP9 software as the functionality of setting up Credit days and Credit based on Amount in Ledger Master but does not block billing even if Credit days are over due.

Below Code will help you in blocking the billing if any bill is overdue of a particular customer. 

;;;;; In below code we have found the field were we want our code to check and block the entry and have applied the control;;;;;;;

[#Field: EI Consignee]
Control : CtrlCreditDays : @@ChkCreditDays>0 and $$InCreateMode and $$IsSales:##SVVoucherType

[Collection: Credit PartyPending Bills]

    Type        : Bills
    Child of    : #EIConsignee
    Unique      : $$Name
Format : @@DateDiff
    Format      : $BillDate, 8      : Universal Date
    Format      : $$Name, 10
    Format      : $BaseClosing,-30  : "AllSymbols, DrCr"
Format : @@DueDate
Format : ##SVCurrentDate
Filter : FltrCreditDays, FltrCrAmt

[System : Formula]

CtrlCreditDays : if @@ChkCreditDays = 1 then "The Customer has " + $$NewLine + $$String:@@ChkCreditDays +  $$NewLine + " Bill OverDue." else "The Customer has " + $$NewLine + $$String:@@ChkCreditDays +  $$NewLine + " Bills OverDue."
ChkCreditDays : $$Numitems:CreditPartyPendingBills
FltrCreditDays : $$Number:@@DateDiff>=1 
DueDate : $$Date:$$String:$BillCreditPeriod:UniversalDate
DateDiff : ##SVCurrentDate - @@DueDate
FltrCrAmt : $$IsDr:$BaseClosing 



Common Troubleshooting....


1. After attaching the code to Tally ( http://tallyexperttips.blogspot.in/2017/09/how-to-attach-any-tallyerp9.html ) it is blocking all the invoice even if credit period is not over ?


Answer:- Go to Display-> Statement of Accounts-> Outstanding-> Select Ledger for which you are facing issue-> and check that there is not no of days in overdue column.