Is there a way to make a header level field source...
# beginners
k
Is there a way to make a header level field source from (first) transaction line item field - in that transaction?
k
I'm sure with script you could do it - though I'm not 100% sure on how I'd accomplish it.
Problem is some transactions line starts at line 0, and on others line 1. And then there'd be dealing with "what happens if someone inserts a line above pre-existing line 1"
It'd probably be harder to do than you'd think, but I don't think it'd be impossible.
I'm sure there are other variations I'm missing that could cause heartache
k
Well, I think I have a soution for those most of the time.. maybe
We're pushing orders from our other ERP, so most of the time all the lines will have it
I just want to source to always grab line 0 from that specific transaction as the value of the header level field
k
Why not just make it part of your push?
k
I am not building the PO, they're all dropship, so there can be multiple POs from the SO --- I have it filled in at the line level (where the PO from OUR system came from)
m
Could also most probably be done via a custom field sourced by summary saved search (use Max of field when ordered by Line Sequence to get the first line). If needed as a stored value could use a workflow to copy to a second field
👍 1
k
! This is what I was hoping to get an idea about, that makes it more clear about how to approach thank you I think I can do it now..
Thanks again