How to send out a log trace file through e-mail utilizing the basic procedure

.
. .

Action 1: Start the Batch server

  • In Sage X3, Batch server belongs of the software application that is accountable for carrying out batch procedures. Batch procedures are normally massive, repeated jobs that require to be carried out in the background, such as information imports, report generation, information updates, and other automated operations.
  • Course: All -> > Administration -> > Endpoints -> > Batch server.
Fig 1: Batch server
  • Click the “Start” alternative by clicking the three-dot “Action” button.

Action 2: Develop a Job code in job management.

  • Course: All -> > Use -> > Batch server -> > Job management.
  • Job management within Sage X3 normally describes the procedure of arranging, tracking, and handling numerous jobs.

KEEP IN MIND : Select “Job” for processing in functions or choose “Script” as the job type for subprograms.

Fig 2: Job management

Fig 2: Job management

  1. Make a brand-new job code.
  2. Select “Processing” as the job type.
  3. Define the function you wish to employ the ‘Function’ field for this job code.
  4. Tick the ‘Message– User’ box.

Action 3: Developing a workflow.

  • Course: All -> > Setup -> > Workflow -> > Workflow guidelines.
Fig 3.1: Workflow guidelines
  1. Replicate the ‘ENDREQ’ Basic workflow.
  2. Set the occasion type to ‘End of job.’
  3. In case code field, go into the job code you are utilizing for log traces, like ‘YFUNSTOR’ for Stock resynchronization and control as an example.
Fig 3.2: Workflow_management_checkbox
  • On the General tab, mark the ‘Trigger Email’ box, which will send out an e-mail to the defined recipient ID.
  • If essential, make it possible for the ‘Debug mode’ checkbox for log traces/log files after processing.
Fig 3.3: Workflow Receiver
  1. Go into the recipient’s ID in the Receiver field within the Receiver tab and continue with the following steps.If needed go into conditions otherwise put it blank.
  2. Guarantee that the “Send out e-mail” alternative is set to ‘YES.’
  3. Set the turning point to ‘NO.’
  4. Select the “Delegate alternative” as ‘NO.’
Fig 3.4: Workflow Attachments
  • Tick the ‘Connected trace file’ checkbox in the Message tab.

Action 4: Inquiry submission.

  • Course: All -> > Use -> > Batch server -> > Inquiry submission.
Fig 4.1: Inquiry submission
  1. In the Inquiry submission area, offer the job code you want to call.
  2. Click the recognition button situated in the top-right corner.
  3. Upon clicking the Recognition button, a screen will open, revealing the connected function.
  4. Input the essential information, click the ‘OKAY’ button, and a question will be developed and shown in the message box.
Fig 4.2: Stock resynchronization and control (FUNSTOR)

Note: You can validate the inquiry in Inquiry management.

Fig 4.3: Inquiry submission

Action 4: Inquiry management.

  • Course: All -> > Use -> > Batch server -> > Inquiry management.
Fig 4.4: Inquiry management
  1. You can observe that following the Inquiry submission, there is a function noted in the Job code column. The status of the inquiry can be discovered in the Status column, with ‘Standby’ suggesting it’s processing and ‘Finished’ suggesting that the inquiry has actually been performed.
  2. To see the most current inquiry, click the Update button situated in the top-right corner.
  3. In the Job code area, you’ll discover the job code you developed throughout the ‘inquiry submission’ procedure.
  4. Under the Status column, you can validate the status of the inquiry.
  5. The Job type column shows whether the inquiry is function-based or script-based.
  6. To access the log file, click the three-dot “Action” button and choose “Log.” This will show the log declare the procedure.
  7. Once the status modifications to “Finished,” the recipient will get an e-mail including the log trace file.
Fig 4.5: Inquiry management

In this method we can send out a log trace file through e-mail utilizing the basic procedure

.
.

.

.

Like this post? Please share to your friends:
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: