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

.Net C# conversion

.Net C# conversion

.Net C# conversion

Hello all,

I was ping with a task to convert some vba process to C#. I am fairly new to Accpac and how it works. I am on Accpac 6.0 and I've recorded a vba to create a PO. I've been reading this forum on learning how to convert vba to C# and I am stuck at these lines and hoping someone can help me convert to C#.

POPOR1headerFields("VDCODE").Value = "200004"
POPOR1headerFields("PROCESSCMD").PutWithoutVerification ("1")

AccpacCOMAPI.AccpacViewField POPOR1headerFields;

Greatly Appreciated.

RE: .Net C# conversion


From what I was exposed from the AccpacCOMAPI, I don't see what's available for me to pass in the head field and value.

RE: .Net C# conversion

Sorry bad grammar/typo above and I can't edit it. I am not able to find the exposed object in AccpacCOMAPI for the POPOR1headerFields in order for me to pass in the head field and value. There are not POPOR1headerFields.Item ...am I doing it wrong?


RE: .Net C# conversion

Please ignore the question. I found my answer. It's in the way of calling the AccpacCOMAPI.

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