RE - Batch processing

Hi everyone,

I have one Table called “ProfitSharingJournal”… In that records will be populated based on some process… So after the records got populated means the user has to manually select the records by clicking “Select All” option and he has to click the “Post” button.

Instead is it possible to automate the process?

Which means at a particular time the records should be selected automatically and it should post also…

Help me regarding this…

Regards,

Madhan

ya madhan ,

Yo can write code for selecting all records and post .its possible through Batch processing

Hi AshNan,

Can u please help me writing the code.

I have a class for that posting.

Regards,

Madhan

hi,

you said some process is going…after finishing that process,yo can write below coding for posting for each records.

in declaration,

Args postArgs = new Args();

For Automatic Posting

postArgs.record(Your Table);
postArgs.caller(NULL);
postArgs.parmEnum(0);
LedgerJournalPost::main(postArgs);

Wenever that process is running ,after finishing that process all records automatically ll be posted…

hi,

I just gave yo one example of LedgerJournal Post…yo modify the coding as per your journal Posting

Hi AshNan,

Whr i need to write this code. And hw to include this in batch processing.

Regards,

Madhan

Whether i can consider this as a job?

If means hw to include as a batch process which runs automatically?

Hi Madhan,

Have a look at ‘Tutorial_RunbaseBatch’ under AOT > Classes and design your class accordingly.