Using a Custom Field as a parameter in Read Only Custom Field (APS9)
Hi All,
I’m trying to create a custom field that looks up the planner of a part (using INVENTORY_PART_API.Get_Planner_Buyer) where the company is always 1 and the part number is an other custom field in a custom logical unit I’ve created. Please see the image below:
Thank you guys for the replies, however, I still get the same error.
try v.cf$_nc_part
v
not
t
v = variable
I tried v as well with the same error.
I always thought the v in this expression was view and t was table. Thanks for that clarification!
Did you try without both v and t as well?
Did you try without both v and t as well?
Yes, both have been attempted. It seems as though any time I try to reference any custom field in another Read Only field, the same error is present.
That’s strange.
Look at the example below:
Inventory Part M1010-123 has Planner = TOOK
Another Inventory Part ZAK01 has CF “Nc Part” value referring to part M1010-123.
Another CF “Nc Part Planner” works fine.
Nc Part Planner definition:
Did you try without both v and t as well?
Yes, both have been attempted. It seems as though any time I try to reference any custom field in another Read Only field, the same error is present.
Yes. I have experienced same when using read-only custom fields in select statements. But for expressions using read-only custom fields work.
Well it looks like there is something else going on with our application. This should work, and does work for other users. I have a ticket with IFS to investigate. Thanks!