Hi Heinz,If it’s only a Oracle sequence that increases, I don’t think we should consider it a “true” change in DB state. Moreover according to Oracle:When a sequence number is generated, the sequence is incremented, independent of the transaction committing or rolling back... https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_6015.htm#SQLRF01314 So it seems like you don’t need to commit the transaction and therefore no need for action/POST? /Rifki
Hi Heinz,When your action does not contain any parameters you need to specify and empty body using {}See the post below on how to call state changes for example. But as @Prabhath Sameera mentions its better to use a function in your case since this is a simple http GET request that does not change DB state. When using http GET along with function you don’t need to (actually you cannot) specify any payload in your request body. But one thing to keep in mind is that actions can have return values too. But they are typically used along with http POST since they could possibly change the DB state.Note: I’m assuming that Eng_Part_Master_API.Generate_Part_No() does not change the DB stateCheers,/Rifki
Agree with @dhlelk bypassing the standard delivery process is not recommended.
Hi,I’m assuming you are doing a POST call which is required since this is an action. Now a possible reason for the deserialization error could be the lack of a payload in your request body. For state changes you need to specify an empty payload like so:{}
Please note that using the REST API for loading very large datasets may cause performance issues, so use this approach cautiously.
Hi,This should be possible by configuring a new projection using Projection Configurations and attaching the custom entity (LU) to it. The new configured projection would then expose the REST API.Please have a look at:https://docs.ifs.com/techdocs/Foundation1/045_administration_aurena/220_Configuration/300_projection_configurations/
Hi,Developer Studio restricts the usage of non-USASCII characters in source files since it could lead to installation errors. This applies to comments as well.https://docs.ifs.com/techdocs/Foundation1/050_development/040_core_server/027_base_server_dev/010_model/900_base-serv-mod-ref/140_storage_source/600_hints/100_illegal_string_characters.htm Regards,Rifki
Hi,This usually happens when you have not deployed the application to the Application Server or if there were errors during deployment. Try the following.Right Click on project “SampleProject” and select “Synchronize Libraries” (you need to have a valid “project root” setup for this to work in your project properties) Right Click on “Application Server” and select “Clean” and thereafter “Deploy” Wait sometime till the application fully deploys. (you can view this in the output console at the bottom) Good Luck,Rifki
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.