I want the Supplier’s TIN no to be read and displayed when the customer selects the SUPPLIER in the Purchase Order.
I am not a programmer, thus would appreciate if you guys can guide me to make this happen without me having to write code.
you can use Depends On in the permission section, add eval: doc.supplier in the depends on.
The Supplier TIN will only show if the supplier is selected otherwise the field will be hidden.
But the issue is the TIN no is not being extracted, only the TIN selection box is being shown (pic-2 attached). I want the fetched TIN to be displayed in place of the supplier’s name.
What am I doing wrong here.
I removed the “eval:” statement and I reload it every time I make any changes.
Here are a few things I noticed:
If I name that field as “test” and not link it to the supplier field via the custom script the test box is visible. But when I rename it as “TIN” it vanishes.
can you confirm if the format of “add_fetch” which you’ve mentioned above?
It isn’t working and also I saw a few others using single quotes ( ’ ) for the parameters within.