Skip to main content
Solved

POReceiptEntry graph extension: how do I get the POShipContact and POAddress using a POOrder?

  • January 17, 2025
  • 1 reply
  • 15 views

Forum|alt.badge.img+2

I have a POOrder object which contains both the ShipContactID and ShipAddressID.  How do I obtain POShipContact and POShipAddress using either BQL or PXSelect?

Best answer by Django

So one way to figure that out is to look at the code of POOrderEntry graph. A quick search on “address” finds this view within the graph:

[PXViewName(Messages.POShipAddress)]
public PXSelect<POShipAddress, Where<POShipAddress.addressID, Equal<Current<POOrder.shipAddressID>>>> Shipping_Address;

You can see that the POOrder.shipAddressID links to a POShipAddress record.

You should work through the training documentation. It will help you to figure this stuff out and understand it.

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+6
  • Captain II
  • January 17, 2025

So one way to figure that out is to look at the code of POOrderEntry graph. A quick search on “address” finds this view within the graph:

[PXViewName(Messages.POShipAddress)]
public PXSelect<POShipAddress, Where<POShipAddress.addressID, Equal<Current<POOrder.shipAddressID>>>> Shipping_Address;

You can see that the POOrder.shipAddressID links to a POShipAddress record.

You should work through the training documentation. It will help you to figure this stuff out and understand it.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings