×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

HELP - Need information on developing my own OE/Invoicing program

HELP - Need information on developing my own OE/Invoicing program

HELP - Need information on developing my own OE/Invoicing program

(OP)
Hi all,

     I've been charged with the, so far, very unpleasant task of implementing a customized Order Entry/Invoicing module for AccPac.  Worse, the documentation supplied by AccPac with their SDK has been less than helpful and possibly very out of date.  Due to the complexity of the process, time contraints, and existing code it looks like I have to link this program to AccPac via its COM object model (or perhaps XAPI).  My question is this, what should be the steps that an AccPac Order Entry and Invoicing module should do to keep AccPac happy and all the data in order?  From what I gather from the documentation and from instructions from my superiors it seams all I need to do is post the invoices (maybe the orders to???) back to AccPac.  Probably to AR.  Can anyone help me with some information on how I can do this?  Thanks for any help.

RE: HELP - Need information on developing my own OE/Invoicing program

This can be accomplished using the ACCPAC xAPI (and probably the COMAPI as well, however I have only used the xAPI). The xAPI uses the ACCPAC views and their business logic to ensure data integrity. If you are planning to create an app that is separate from ACCPAC then you will also need an available IAP user licence.

You can use ACCPAC macros to get an idea of the code that will be required. They will need some tweaking which is not too difficult. You will probably need to follow the following steps,

1. Set required defaults from ACCPAC. Using a finder so that all required fields are populated.
2. Enter the infpormation into your app.
3. make any adjustments necessary to export the information to ACCPAC. Such as adding the defaults to a record.
4. Export the information into the ACCPAC views.

Search this forum for some of my ealier posts to get more information on the xAPI and how to create an ACCPAC session. When you are stuck just post again.

Take Care,

zemp

"Show me someone with both feet on the ground and I will show you someone who can't put their pants on."

RE: HELP - Need information on developing my own OE/Invoicing program

(OP)
> 1. Set required defaults from ACCPAC. Using a finder so that all required fields are populated.

I've seen mention of the finder in the docs, could you tell me where it is located and what it does?

> 2. Enter the infpormation into your app.
> 3. make any adjustments necessary to export the
> information to ACCPAC. Such as adding the defaults to a
> record.
> 4. Export the information into the ACCPAC views.

Ok.  I'm going to try and export a dummy invoice batch.  Is there more than just one view I need to consider?

> Search this forum for some of my ealier posts to get more
> information on the xAPI and how to create an ACCPAC
> session. When you are stuck just post again.

This part I've already figured out.  My program can get a company list, login a user, and sets up a session.

Also, while I think I know the answer to this I want to ask just in case.  Can AccPac generate the unique invoice number for me?  Right now, I'm figuring I have to set the invoice number to 0 and call init; at least that is my assumtion from a post I saw about generating batch numbers.  Am I wrong.

Thanks a lot for your help.

RE: HELP - Need information on developing my own OE/Invoicing program

First off you can add the finder control through VB IDE. Go to Projects-References and add arefernece to the ACCPAC Finder 1.0 dll. Or you can open ACCPAC and got to Menu-edit and select the BAS.avb macro. It has a finder class and finder form that you can pretty much copy into your VB program. You will also find code on how to use it there.

The number of views and which views to use will depend on where and what you are exporting. AR,OE, etc. To find which views are being used open ACCPAC and record a macro for where you want to put the information. (ie enter an dummy or example). When you stop recording you will see which views and fields were used and therefore needed.

I believe that ACCPAC will generate a unique invoice number for you. I have always created a userdefined invoice numbering system and exported that into ACCPAC. It may depend on the view and how their ACCPAC is setup.

Take Care,

zemp

"Show me someone with both feet on the ground and I will show you someone who can't put their pants on."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close