Hi Community,
I’m working on a customization related to the Create Purchase Orders screen and need some guidance with vendor defaulting and updating custom fields on the POFixedDemand DAC.
Customization Details:
I’ve added the following custom fields to POFixedDemand:
-
Shipping Destination Type
-
Ship To
-
Shipping Location
Scenario:
-
In the Sales Order, we have a Configurable item (parent) and IsSupplement (child) items.
-
When creating a PO from this sales order:
-
The Vendor and VendorName on the parent (Configurable) item in the POFixedDemand should default from the child item (where
IsSupplement = true). and also on Parent Item (Configurable = true)
-
What I’ve Tried:
-
POFixedDemand_VendorID_FieldUpdated:
-
I added logic here to assign values to the custom UDF fields.
-
The values seem to be set in the code but do not reflect on the screen/UI.
-
-
Overridden
EnumerateAndPrepareFixedDemandRowdelegate:-
I tried to default the vendor here based on the child (supplement) or stock item’s default vendor.
-
Still, the Vendor field and custom fields are not updating as expected on the UI.

-
Questions:
-
What is the correct way to default and display values (like Vendor ID and UDFs) on POFixedDemand lines in Create Purchase Orders?
-
Should I be using a different event or place to assign these values?
Any suggestions, best practices, or code samples would be greatly appreciated!

