Hi, does anyone know how to default a location in ...
# general
m
Hi, does anyone know how to default a location in a purchase order based on the user’s location? I've attempted using a workflow with triggers before record load/entry. It populates as intended, but after choosing the vendor, the field becomes empty. I also tried before field edit, after field edit, and after field sourcing using client triggers vendor/subsidiary, but nothing populates in the field. After record submit works, but it’s not preferable in case changes to the location are needed. In addition to the workflow, I also tried editing the role. Under the restriction subtab, I set the location to none-default to own. However, this affects other forms that have the location field. I only need this to work on purchase orders. I would be grateful for your insights. Thank you in advance!
m
Did you try after field sourcing and the client triggering field is vendor?
m
Yes, I tried it and it still won't work.
m
The problem is the location is controlled by the subsidiary and the subsidiary controlled by the vendor. So that chain of sourcing is breaking up the WF Is there another field that gets set that you could trigger the location from Like first set the vendor which sources the subsidiary Then use a WF to set the location when someone adds an item to the PO, or changes the Memo field? (Or any other mandatory field)