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

Salesforce Integration Consulting And Solution Options

Salesforce integration consulting is about more than just finding a partner with experience in integrations.…

2 months ago

Hand-Picked Digital Marketing Platforms for Manufacturers

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

2 months ago

2024 Manufacturing Trends

Don’t be left behind by neglecting these 2024 manufacturing trends.

3 months ago

Maximizing ROI with CloudSuite Industrial

With a comprehensive ERP like CloudSuite Industrial (CSI) from Infor, there are countless possibilities for…

4 months ago

Infor ERP Releases Innovative Features

An Infor ERP solution isn’t just a temporary fix to today’s issues, it’s an investment…

4 months ago

Infor ERP Integrations

An Infor ERP can dramatically improve your operations, but with an ERP integration, you can…

4 months ago