Do you have a local variable defined as jobPartNum or enteredPartNum assigned by a LINQ statement?
eg:
string jobPartNum = Db.JobAsmbl.Where(r => r.Company=="DTSF" && r.JobNum == Context.JobNumber && r.AssemblySeq == Context.AssemblySeq).Select( r =>r.PartNum).DefaultIfEmpty("Not Found").FirstOrDefault();
Not sure what you are attempting with this?
To help the community provide the best answer, could you include as much of the information below as you can? Your question appears to be lacking some much needed context
- Epicor Version
- Deployment Type (Cloud, On Prem, 3rd Party Cloud etc)
- The business problem you’re trying to solve
- What you’ve already tried
- Is this a Kinetic UX (Web) or Epicor Classic issue?
- Is it related to a Method Directive, Data Directive, Function, BAQ, UBAQ, Configurator, etc.?
- Any screenshots, error messages, or logs.
- Any code you’ve written (or borrowed , make sure it is property formatted)
```
code here
``` - Steps to reproduce the issue
For tips on how to ask questions effectively, check out this guide:
Tips for Asking Questions on the Forum
