Announcements
No record found.
I am trying to obtain the value for SHIPMTHD from the SOP_Customer_Entry_Window
shipMethod = SopCustomerDetailEntryForm.SopCustomerDetailEntryWindow.????
According to all the documentation plus using GP Power Tools it should be on this window. However typing in the above yields no fields on this window.
What am I missing and how do I get this value?
Hi Richard
It is there
Dynamics.Forms.SopCustomerDetailEntry.SopCustomerDetailEntry.ShippingMethod.Value
Regards
David
Why does the ShipMethod get pulled from a different source than SOPNUMBE and SOPTYPE?
SopNumber = sopEntryForm.SopEntry.SopNumber.ToString().Trim();
SopType = sopEntryForm.SopEntry.SopType;
shipMethod = Dynamics.Forms.SopCustomerDetailEntry.SopCustomerDetailEntry.ShippingMethod.Value;
You should not be using sopEntryForm.
You should be using Dynamics.Forms.SopEntry.SopEntry.SopNumber.Value;
and Dynamics.Forms.SopEntry.SopEntry.SopType.Value;
I'm sure how it exposes field names in GP Power Tools - you could try 'Shipping Method'. SHIPMTHD is the name of the field in SQL.
This was resolved by accessing the Shipping method field in the SOP_HDR_WORK table buffer on the SOP_Entry form.
Using the Customer detail expansion window field only works if the window is open at the time.
Details in the other forum thread.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 591
André Arnaud de Cal... 550 Super User 2026 Season 1
Abhilash Warrier 543 Super User 2026 Season 1