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!
  • Students Click Here

*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

SOPEntry Window Address Fields

SOPEntry Window Address Fields

SOPEntry Window Address Fields

Using a script I'm trying to determine the currently selected Primary Bill To Address code for the current order (not yet saved).

I thought the "Primary Bill To Address Code" field in the window would store that value, but I'm always seeing it empty.  Though the "Primary Ship To Address Code" field does get populated with the ship to address code.

Which field in the SOP_Entry window is the Bill To Address code stored in until the document is saved?


RE: SOPEntry Window Address Fields

I suppose I should have added I am using Visual Studio Tools for Dynamics GP for this project.

I did manage to find the current BillTo Address code, though I'm not certain if this is the best way or not.  Here is where I found it:



I didn't immediately think of that as the data hasn't been saved yet (a query through QA at this time of SOP10100 shows that the record exists, but all customer data and dates are empty).

Would it be proper procedure then to access it through the table?


RE: SOPEntry Window Address Fields

The value is stored in the form table buffer for the SOP_HDR_WORK table and is not on any window field.

You are accessing the table buffer... not the table itself.

David Musgrave [MSFT]
Escalation Engineer - Microsoft Dynamics GP
Microsoft Dynamics Support - Asia Pacific

Microsoft Dynamics (formerly Microsoft Business Solutions)

mailto:David dot Musgrave at microsoft dot com

Any views contained within are my personal views and not necessarily Microsoft policy.
This posting is provided "AS IS" with no warranties, and confers no rights.   

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