Hi guys
I need help with macro to return payment batches by unique document number. Currently I am trying to this using the AP0029 view. Where in the UI i can set the document number. But I can not get a macro to use...
many thanks
Thanks a million for this post, something in this post helped me capture the errors from Accpac, in C#. I have been struggeling to do this for quite a while now.
kind regards
V3nd3tta
Hi, here is my web service..doing payments. It works on w2k3 server...
[WebMethod(Description = "This method is used to insert a payment into ACCPAC.")]
public string Set_Payment(string _Version,string _Username,string _Password,string _Company...
Try one of two things.
On the 2k3 server try sharing the common files sage, for the web service.
Check the references in the project that you do reference the correct version of the dll's
I know one should use try...catch.. but this catches an exception. The exception has got HResult and tells you "unhandles com exception has occured, Hresult efail...".
Now I can extract the hresult from this. the code. But how do I pass this to the Error class in Accpac ? To get a customer...
I do not believe that one can use On error goto in c#. I saw the Error class, but can anyone please give me an example of how to use this class from c#.
Hi , me again.
Got the payments class working fine in C# now, now another question arises.
When I stepped the macro in VBA, if there was something wrong with the data, eg. invoice no being wrong. Then I would get a Message box telling me the data is wrong on the inserts etc.
Now is there a...
Thanks for all the help. I looked at the thing again , and compared it word by word with my Purchase orders that is working...the problem was not with anything but meself being a n00b....
I used the Accpac.Advantage.dll for version 5.3 and not 5.4....what a way to waste a week.....rofl....
me...
That is the real thing bothering me in VBA the thing works without errors....I posted here cause i thought, maby , hopefully somebody will tell me it is impossible, because I know it is possible , just can't get it to work.... : -<
Is there a real difference in doing this in vb.net and C# ...
Hi
Still no luck
The RecordCreate Method only takes something of the
enum ACCPAC.Advantage.ViewRecordCreate the only items in this enum is DelayKey,Insert,NoInsert....but none of these works....get an exception at runtime.
If I use the Boolean or 1 ..i get compiler error, telling me that I...
Hi
I have got a problem recording macros in Accpac 5.4A. I capture a Purchase order , and then this is all the macro consists of .
recording is started before the purchase order entry screen is opened, and then stopped just before the screen is closed.
Sub MainSub()
'
' ACCPAC Macro file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.