Populate a labor dataset

I need to create a Time and Expense entry via customization. I want to first populate a labor dataset. I have the following…

using (var svc = WCFServiceSupport.CreateImpl<Erp.Proxy.BO.LaborImpl>(session, Epicor.ServiceModel.Channels.ImplBase<Erp.Contracts.LaborSvcContract>.UriPath))

Now I need to populate my dataset but can’t find a GetByID function that will work here. Does anyone know the proper syntax? e.g. Proper definition of pertinent dataset and then populating it?

Have you run a trace in Time and Expense to see what the system does?

Yes. I am not very experienced and am having a hard time knowing what to look for and what I need to be interested in.

A Trace will provide all the details of what is passed from the client to the server. You will need to duplicate the same steps to ensure the process works the same. There are shortcuts to this, but if you are just starting out, that is where I would start. Also, take a look at the Trace Utility Helper:

Thank you. I will try to work with this and see if it can help me.

1 Like