Skip to main content
Question

Show create PO GI on Sales Order tab

  • April 13, 2022
  • 3 replies
  • 61 views

wikusvorster42
Jr Varsity II
Forum|alt.badge.img

Hi there,

I was tasked to add a PO tab to the SO GI and display the Create PO (PO505000) GI on this tab. I managed to get the tab displayed by using selects from the POCreate graph and creating an SOrderEntry extension.

My problem is populating the data for the create PO tab. The create PO GI is displayed with a PXRedirectRequiredException from the SOrderEntry action. 

I am not sure how to do the same process when it is added as a tab on a different GI.

3 replies

wikusvorster42
Jr Varsity II
Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • April 25, 2022

Solved


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • April 25, 2022

Hi @wikusvorster42 can you let us know how you resolved? Thank you!


wikusvorster42
Jr Varsity II
Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • April 29, 2022

Hi @Chris Hackett, we are still busy testing. As soon as it is tested I will share the solution.

I am stuck at the moment. When creating a SO and I enter the order qty on the SO line I get an object reference error. I traced it back to the Model.cs. It has something to do with the POCreateProjectionAttribute in my extension. It happens before anything to do with the extension. 

it fails here on the return, the data is INItemPlan:

if (!bypassinterceptor && _Interceptor != null)
                {
                    return _Interceptor.Insert(this, data);
                }

The extension is attached. I am starting doubt if what I do is possible.