Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to write code for the user-defined routine

Former Member
0 Likes
405

Hello Sir,

I will explain the scenario and according to it please give me the solution.

i have to condition types for eg ; JASS and NPPS and my requirement is that what amount given to corresponding condition type JASS ( for eg 100) and then some percentage of it should automatically in amount corresponding to condition type NPPS.

for eg JASS - Amount-1000

percentage fixed is 4%

then NPPS should show Amount - 40 automatically in the amount column ie 4 % of the 1000 defined in condition type JASS.

For this manipulation i have to create one routine in the requirement .

i have made the routine no 905 and made it activate it also using the access key and this include getting represent the standard program RV61ANNN but i am not able to write the code to do the above manipualtion .

Please tell me how to write the code for the above requirement.

Please reply as soon as possible.

2 REPLIES 2
Read only

Former Member
0 Likes
356

In the routine,

NPPS_AMOUNT = JASS * 0.04.

Read only

0 Likes
356

Hello sir,

By writing this code it will automatically pick the amount of condition type JASS.

No it won't work .

Please tell me the right solution