Solved

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

Posted on 2006-06-12
5
566 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Starting up a Project

623 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