Skip to main content
Solved

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

  • Jan 17, 2025 12:48 AM UTC
  • 1 reply
  • 51 views
  • Translate All

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

1 reply

Forum|alt.badge.img+8
  • Captain II
  • Answer
  • Jan 17, 2025 1:26 AM UTC

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.

Translate