Solved

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

Posted on 2006-06-12
5
563 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 16898385
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
ID: 16901019
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
ID: 16906013
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

752 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