Closed oldmat closed 1 year ago
Inside the procedure LookupPostCode it raises an integration event called OnLookupPostCode - does that not achieve the same as what you are asking for above?
Unfortunately no. I need to know what is the calling procedure (if lookup of Buy-from, Pay-to pr Ship-to), and inside the LookupPostCode procedure there is not that info.
The whole problem starts from the relation between "Territory Code" and "PostCode" + City: in BC this relation is not managed, while here in Italy is widely used.
In the procedure and the integration event that is raised it passes you the CalledFromFieldNo so you can then see where it was called from...
I see, you're right. In general i don't feel very comfortable trusting the CurrFieldNo variable, since its value depends on the beginning of the execution flow. In this case, since the flow starts with a lookup action, i will follow your suggestion.
Thank you !
No worries - just thought it might help you in progressing rather than having to wait for a minor release with these in (if they were included).
Do you think you could follow the same pattern for the other Event Requests that you raised that seem similar?
Yes, absolutely!
Closing as no longer needed
Hello, please consider adding the following event to Table 38 "Purchase Header"
and raise it accordingly inside "OnLookup" trigger of field 83"Buy-from City":
Thank you!