Is it possible to store the related PO in a custom field in the vendor bill where it was created from via workflow? There is no created from field, so not sure how it's gonna be picked up.
m
MGBC
05/17/2023, 1:19 PM
Yes you can use a formula of {appliedtotransaction.internalid} in your set field value action
MGBC
05/17/2023, 1:22 PM
Actually you might need to do
CASE WHEN {appliedtotransaction.type} = ‘Purchase Order’ THEN {appliedtotransaction.internalid} END
MGBC
05/17/2023, 1:23 PM
I think sometimes it considers item receipts as applied to because of the 3 way match
MGBC
05/17/2023, 1:23 PM
Also probably best to do as After record submit
j
Jesper M
05/17/2023, 2:06 PM
You can have several POs applied to the same bill, so that's why you don't have that field. No 1to1 relation. You have the PO sublist instead
Jesper M
05/17/2023, 2:06 PM
You can play around with the lines though, they are just from one PO
l
Luis
05/18/2023, 11:17 AM
Thanks. I'll try that. We only have one PO per bill so it's not a problem.