PFI Assign Node Functions

 1 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
OWooten
New Member Send Private Message
Posts: 0
New Member

I am trying to use the addLeadingZeros function to print the leading zeros that are present on Employee field

FullEmpID = addLeadingZeros(Employee, 9)

FullEmpID is defined as an Integer and assigned an initial value of 0

The result is not left zero-filled

John Henley
Send Private Message
Posts: 3351
The addLeadingZeros() returns a string, so you would need to create FullEmpID as a string, not an integer.
Thanks for using the LawsonGuru.com forums!
John