on 06-04-2009 3:10 PM
Hello,
We are trying to design an approval procedure whenever an item code appears in a certain UDT.
For example, we have many items in OITM.
We have 50 of those items also in @BIN.
The approval procedure should be triggered only when the document lists one of the items that appear in @BIN.
I am using the following query:
SELECT 'TRUE' where $ [$38.1.0] IN (Select code from [@BIN] )
The problem is that the query would only search on the first row and wouldnu2019t continue to the next rows.
Do you have any idea how to bypass this limitation?
Thanks in advance
Revital
SELECT 'TRUE' where $[$38.1.0] IN (Select code from [@BIN] )
Hi Revital,
One way to implement this functionality would be to use a UI API that verifies the values while filling the items in the Matrix. For this you would need a little programming knowledge but no extra license.
There is a lot of information including Code Samples in the SDK Package delievered with every patch of Business One.
Kind Regards,
Friederike Mundt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had same goal with you long times ago. However, it seems no options to break the wall.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I know, the limitation for this query is: you can only get the first line, not the other. This is hard limitation. Hence, you may only based your approval on header table not the detail row table. Unless the first line is good enough for you.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Where do you run Query . Try to run in approval procedures
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.