on 11-08-2023 12:56 PM
Dear Experts,
I Have one UDF in OPDN named OPDN.U_TotalQuantity. Now I have selected 3 line items with different quantity in the line level of GRPO. I want the sum of PDN1.Quantity in the OPDN.U_TotalQuantity field by FMS before saving the GRPO transaction.
Please help me out with FMS query by which I can get the total quantity of the line level in header UDF.
Thanks & Regards,
Satinath Biswas
Hi,
When you write a FMS for a header level field, system provides only the header level fields on the auto refresh check box of the FMS setup window.
For having the cumulative total for all lines in the document, FMS needs to be refreshed on change of field at each line.
so, this is practically not possible. You can achieve this with the help of SDK or post transaction notification.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried and the same is achievable by creating a temporary table and stored procedures, please check the below queries -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
7 | |
6 | |
6 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.