If your company wants to streamline its project entry process, you can customize Epicor to auto-assign a project ID.

Step 1. Create a BPM method directive on the “GetNewProject” method belonging to the Project business object.

This should be a post-processing directive.

Step 2. Create a new action to execute ABL code.

/*Assign Project ID
When a new project is created, lookup Company.Number01 and increament it by 1.
Use that number as the new project ID. */define variable newNum as integer.
define variable newNumString as character.

for each ttProject where ttProject.RowMod = ‘A’ or ttProject.RowMod = ‘U’:

/* Lookup the Company that the Project is being created in */
find first Company exclusive-lock where Company.Company = ttProject.Company.
If available Company then do:

/* Increment project count by 1 */
assign newNum = Company.Number01 + 1.

/* Update Company.Number01 */
assign Company.Number01 = newNum.

/* Put the letter ‘P’ in front and pad with leading zeros */
assign newNumString = “P” + string(newNum,”999999″).

assign ttProject.ProjectID = newNumString.

End. /* If */
End. /* For Each */

 

Step 3. Add the code to the ABL action screen.

Step 4. Enable the customization.

Step 5. Go to the Project Entry screen and create a new project. The ProjectID will be automatically generated.

Suggested

Becky Lipnick

Recent Posts

Infor CSI Syteline – Paste Rows Append for Data Load

Entering Records individually into CSI will ensure that the required data is filled out for…

2 months ago

Infor VISUAL ERP: How to Future-Proof Your Manufacturing Operations

For decades, Infor VISUAL ERP has been the backbone of countless manufacturers. Its strength lies…

2 months ago

Infor CloudSuite Industrial: Features & Options

Infor CSI (Syteline) - Features & Options With the creation of Infor Configure Price Quote…

7 months ago

Infor CSI: Excel Report Output Format for Reports Without a Dataview

Infor CloudSuite Industrial (CSI) provides powerful reporting capabilities, often leveraging Dataviews for easy extraction of…

8 months ago

How Datix can help Support your Infor VISUAL ERP Platform

In today’s fast-paced manufacturing environment, efficiency, accuracy, and scalability are critical for business success. Infor…

10 months ago

Hand-Picked Digital Marketing Platforms for Manufacturers

Platform: HubSpot Where It Shines: Email marketing - easy to use email lists, automation, and…

2 years ago