a week ago
Hello,
I have created below fms on Issue for Production document which is not getting triggered on its own:
SELECT CASE
WHEN CAST($[$13.1880000004.0] AS INT) = 4
THEN CAST($[$13.87.0] AS DECIMAL(18,4))
ELSE 0.0001
END
Scenario: If the selected row item is a resources or rowtype = 290, then it should populate .0001 in quantity field.
I want this to be triggered when a production order is selected on the issue for production document.
Can anyone please suggest what corrections to make in this fms or suggest a better query to get this fms working?
Regards,
Joseph
Request clarification before answering.
Hi Joseph,
if you would have tested your query as described, you would had found out that it is not working, and perhabs fixed it on your own.
The right query is
SELECT CASE
WHEN CAST($[$13.1880000004.0] AS INT) = 4
THEN CAST(REPLACE($[$13.87.0],',','.') AS Numeric(18,4))
ELSE 0.0001
END
At the end it is perhabs not possible that it will run automatically (like copy to function in documents) because the form is already filled by SAP. Perhabs you find another field that can trigger it.
Otherwise the User has to click on the magnifying glass manually
regards Lothar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
when I try the query as decribed i got this
No result.
The fields you are using are
The second field is greyed out.
Which field do you use your FMS?
Provide a screenshot of it
regards Lothar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At first please test your FMS as described.
Check if there is a result or error message.
Second provide a screenshot how you configurated your FMS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joseph,
you can test your FMS by yourself. Open the Form and klick in the field where the magic should happen.
Then go through the menu to your query, then the variables will be filled with the data and you can see what went's wrong
regards Lothar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
64 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.