X
X
Xris2020-10-13 14:40:34
1C
Xris, 2020-10-13 14:40:34

How to set up extended addressing in UX 3.1?

I'm trying to set up extended addressing so that the user is taken according to the attribute Analytics1 from the tabular part of the document. But when sending the Application for payment for approval, the error "The value is not a value of the object type (KeyProcessObject)" appears. How to fix? Or where can I find a detailed video on setting up extended addressing with arbitrary code? I've searched all over the internet and haven't been able to find anything.
5f8591144a3b3136333202.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kinash, 2020-10-16
@Dementor

I must say right away that we didn’t buy UX and I didn’t encounter this mechanism, but a number of problems are clear from the screenshot!
Judging by the request, the Analytics1 field contains Organization and for addressing in the Reconciliation process you even make a connection with the table of responsible persons - it is Internal, so if there are no responsible persons, the output will be an empty array. Need to check this one out! Completeness of the Organization and the Responsible for the specified role.
Further, it is a bad idea to specify the role by searching through the code, unless you can guarantee its immutability.
For accurate diagnostics, I recommend inserting output at the end of the procedure using Report() or LogRecord() by: 1) the number of array elements, 2) the type of the first element, if any; 3) the value of the first element, if any.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question