Solved

How to add records into invoice.dta data file of sage from VB6

Posted on 2006-06-12
5
557 Views
Last Modified: 2012-06-27
I need to open data file with extension DTA, which is actually a data file of sage accounting software. I have been searching, if I could find any way to Add data into Invoice table of sage from VB but I could not find.
I thought might be is there any other way could open directly the data file to add data into Invoice file, OR if you know any other way I could add data into sage database.
I know ODBC data connection is read only, and to use sage data object I need registeration key which could be bought from sage for £1500. I don't want to spend that much money.

Hope fully anybody will be able to help me in this matter.

Regards

 
0
Comment
Question by:Shahbazomeara
  • 2
5 Comments
 
LVL 31

Expert Comment

by:moorhouselondon
Comment Utility
You don't need to is the ideal answer.  Think of it the other way round (which is the way I do it in practice).  Suppose you have a customer who wants extra info which is not in Sage.  Have separate tables which contain the info you want, when you print out an invoice you do it from your data, adding in the bits you want from the Sage data.  The resulting invoice is contained within your program, not in Sage.
0
 

Author Comment

by:Shahbazomeara
Comment Utility
Thanks for your reply,

I will try to explain you what I need to do.
I have developed a software for Travel Agents which stores and print Invoices. Most of the travel agents who use my software they use Sage Instant Accounting software to manage their accounts, Its mean they will print invoice on my software and manaully enter the invoice information into sage to do posting to all relevant accounts.

That's why to reduce the manual work I am looking at the ways to import invoice information to sage.

If you could help me in this matter, I will be very greatful.

regards
0
 
LVL 31

Accepted Solution

by:
moorhouselondon earned 500 total points
Comment Utility
The best way to do this is for your program to create a CSV posting file with the following fields, in the following order:-

CSV File Structures (Audit Trail Transactions)
-----------------------------------------------------
 
Transaction Type  SI = Sales Invoice
SI
 
Sales Ledger account code
TRAVAGNT

Nominal Code
4000
 
Department Number
0
 
Transaction Date
14/06/2006
 
Transaction (Invoice) Reference
Invoice Number

Transaction Details
Narrative

Net Amount
100.00
 
Tax Code  - Standard Rated =T1
T1

Tax Amount
17.50

Extra Reference - leave blank

-----
(Transcribed/amended from Sage's Help)

Use File, Import, Audit Trail Transactions, in Sage then browse to the import file (or you could make sure your program plonks the file into the directory that Sage expects to find it).  If there's anything structurally wrong with the file then the whole file will be rejected.  It does two passes - one to check the structure, two brings in the data.  Once in the Audit trail it can be reported upon, and will appear on VAT reports (if running standard VAT - not cash accounting)

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now