on 03-03-2021 6:12 PM
Hello,
I'm attempting to have a working embedded component into the customer invoice request OIF screen.
After repeated attempts to have it working I can't seem to get anywhere. The best attempt I had was the embedded component properly import the Invoice Request ID and its Type.
Both elements compose the Key of a Customer Invoice request, so Both are needed to select from DB.
The Custom business object I defined holds a copy of the Invoice request key
The embedded component correctly imports the ID and the Type of the invoice request, but I'm seemingly unable to use them to select from the Business Object
In the Embedded component, I'm using a read operation from the Business object that has both input parameters as alternative key, and are binded with the corresponding fields of the BaseBusinessTransactionDocumentKey
With the configuration above, nothing is read from the custom BO (note that if I add handle the empty condition and add the step to create a record, I get the error that an instance with the same key already exists).
I also attempted to use a single alternative key option, by binding the Input and the InvoiceRequestID structures directly
But with this option the screen will simply dump.
Unfortunately there are no public outports that offer the UUID of the Customer Invoice Request, but I noticed that an other available outport provides its Root NodeID. I can rebuild the custom bo to use that nodeID as alternatekey if needed, but I'm unsure it would be a unique value way to select effectively.
Can anyone provide some suggestions? Thanks in advance.
Using the NodeID as UUID for the customer invoice request solved the issue.
Problems like this could be avoided if outport names could be consistent between objects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.