bpanda
6th July 2015, 11:36
Hello,

Can anyone suggest me how to execute "rotate.curr" option of a std session through AFS from a customized session.

Already tried,
stpapi.form.command("tfacp1433m000",5,"rotate.curr",error)

No result.

Please share your views on this early.

Thanks & Regards
Biswajyoti Panda

mark_h
6th July 2015, 16:52
Are you sure about the name? Maybe post the relative piece of code and maybe someone sees something.

benito
6th July 2015, 17:24
i haven't used this command BUT this is not a form command. try it with:

choice.print.data:
on.choice:
execute(rotate.curr)

bpanda
13th July 2015, 07:42
Hello,

I want to know if there is any command for Rotate Currency in AFS.

You can find that on tfacp1433m000 (Print Registered and Matched Purchase Invoices).
This changes the home currency to different currencies on the session and prints data accordingly.

I want to execute the std. session (tfacp1433m000 ) from a customized session through AFS and I want the rotate currency option on that customized session also.

Please give me your ideas on this.

Thanks & Regards
Biswajyoti Panda

mark_h
13th July 2015, 15:35
http://www.baanboard.com/baanboard/showthread.php?t=59441&highlight=rotate+currency - see the post by marnix. Maybe newer AFS documentation from infor would provide what you need.

Do you have source code? If you have source code you can debug what is happening manually and thru afs.

My only other suggestion is to confirm that it is rotate.curr and not something else. Are you doing this in LN or Baan 4? If baan 4 look at stpapi.application.

benito
13th July 2015, 17:28
in tfacp1433m000 you click on rotate currency first before you click print. can you do the same with your custom AFS session? rotate curr is a standard command so just enable the button. i'm guessing once the button is enabled, once you hit it, it will go to your other reporiting currency and you can execute your AFS session.