Skip to main content
Answer

Defaulting Warehouse in Sales Order Screen

  • December 10, 2022
  • 1 reply
  • 367 views

param2022
Jr Varsity II
Forum|alt.badge.img

I want to default the value in Warehouse when a new row is Inserted. I have written FieldUpdated event on InventoryID, so when a item is selected i am able to default the warehouse. But Issue is when I try to add the items using the ADD ITEMS popup. There the value is set to the default stock-item’s Warehouse field and not to my desired Warehouse. Can anyone help he here. 

Best answer by aaghaei

@param2022 the correct place to set the defaults is either using PXDefault for the DAC field or using FieldDefaulting event handler of SO.

1 reply

aaghaei
Captain II
Forum|alt.badge.img+10
  • Captain II
  • Answer
  • December 10, 2022

@param2022 the correct place to set the defaults is either using PXDefault for the DAC field or using FieldDefaulting event handler of SO.