Please help if someone is stuck with it.
Hi Codehunter,
Could you please provide a more details regarding your exact requirements?
Hi Gunjan,
I need to write batch job that handle multiple transfer fixed assets in the back-end in the fixed assets module as the standard behavior uses the front end and it takes awhile to complete the transaction.
Hope you got my point.
Have you decided on how to collect the necessary parameters like "Transfer from account", Transfer to account" and "Transfer to financial dimensions"? In the "Transfer fixed assets" form, they are input by the user.
I will just need to take the action from transfer button in the fixed assets form directly . I will access the batch job from this button directly.
A batch job is for executing a specific function at certain intervals based on parameters passed. The parameters for fixed asset transfer will keep changing constantly. In this case, are you looking to execute the transfer operation in the server so that the performance is better?
Yes and it needs to be running in the background
You have two options here -
1. Force the logic execution in the server. For an example how Purchase order confirmation, product receipt etc. work. You can transfer the Forms\AssetTransfer\closedOk logic to a new class method which is has the keyword "server" in the signature. you can follow the example of PurchFormLetter\mainOnServer method for this.
2. You can create a new table to store all the values entered in the form. . You can then write a batch job to be executed based on records in this table. You might want to have a checkbox field in this table as well for marking the record as processed on successful asset transfer. In this scenario, you just write the records into this table once the user clicks on "Update".
For the logic you can copy the one in AssetTransfer\closedOk without the part where the form "AssetTransferConfirmation" is being called so that no user interaction is necessary.
Could you please tell me how to pro grammatically handle it through the batch job inside the transfer section.
The class for the batch job needs to be created separately. When you say batch process inside the transfer section, what exactly are you referring to?
I need to handle the transfer button in the top bar of the fixed assets to be managed through batch jobs instead of the UI phase . Please let me know how I could start implementing this part
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 1,933
André Arnaud de Cal... 793 Super User 2025 Season 2
Sohaib Cheema 537 User Group Leader