Stewart Rutledge2025-02-01

Using AI to Accelerate H5 Script Development for Infor M3

h5-scriptAI

Using AI to Accelerate H5 Script Development for Infor M3

At Beredo, we've been exploring how AI-driven code generation can help us streamline H5 script development. One of the biggest challenges? Most AI models lack the necessary context, simply because there aren’t enough publicly available examples of well-structured H5 scripts.

To bridge this gap, we’ve been building a library of well-documented, cloud-compatible H5 script examples. By breaking down core functions into modular, clear, and reusable scripts, we’re getting some pretty exciting results.

For example, given the following prompt:

"Write an H5 script that takes selected rows and sums up the values of a specified field (which may contain numbers formatted with either commas or periods as decimal separators). Display the sum in a new text field added to the screen. The script should accept arguments in the format: TopPosition;LeftPosition;Label;FieldToSummarize. The sum should be updated when new rows are selected"

We get an AI-generated script that automates calculations directly within M3’s UI. 🎉

By continuously refining our examples and AI prompts, we're making H5 scripting faster, more accessible, and easier to scale. Looking forward to pushing this even further!

💡 Have you tried using AI for M3 development? Let’s discuss in the comments!