How to get the Service Call Number -BPM

Hi everyone,

I am Epicor New student.

I am trying to create a BPM to get the service call number,when close /reopen this service call

  var CallNum = (from row in Db.FSCallhd 
              where row.Company == Session.CompanyID && ???
              select  row.CallNum).First();

Where are you trying to pull the Call Number into?

OrderHed?
SerialNo?

You’ll need some more context before we can help you effectively.

when Close/Reopen Service Call,need send email to related person.

1 Like

Built in variable to the BO ipCallNum

Right click and go to parameters?

You don’t need the look up.

Thanks ! work now. :grinning:

1 Like