BomSearchAdapter PartMtl GetByID

E10 has the BL tester too.  Makes life a lot easier.

Jim Kinneman
Encompass Solutions, Inc.

Hi,

I'm trying to use the BomSearchAdapter to get a PartMtl record in an external .NET program. But no matter what I pass into the GetByID method, I get back an empty row.

Here's my code:

Dim dt As DataTable
partMtlAdptr = New Erp.Adapters.BomSearchAdapter(epiLaunch)  
partMtlAdptr.BOConnect() 
partMtlAdptr.GetByID("Something here") 
dt = partMtlAdptr.BomSearchData.PartMtl

I've tried passing into GetByID the PartNum, the MtlPartNum, the SysRowID and just about every combination of variables as a ParamArray. No matter what I pass in I get nothing back.

Does anybody know how to get a PartMtl row back in a .NET program?


Try your query using the BL tester and the PartMtl BO.  Once successful there you might try your query in an embedded customization.  

If you are successful there, try doing a GetRows or Getlist in your external program to confirm that you have a good connection to the adapter.  Run these without search criteria to avoid possible error in a where clause.  Once you get results using these broad methods you can try using GetById.

Jim Kinneman
Encompass Solutions, Inc.
Jim,

Thanks for replying. I don't have the BL tester. We are not licensed for the SDK.

Bryce

the BL tester install file is on the app server Epicor905\Utilities\BL-Tester directory.

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Monday, July 27, 2015 4:24 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BomSearchAdapter PartMtl GetByID

 

 

Jim,

 

Thanks for replying. I don't have the BL tester. We are not licensed for the SDK.

 

Bryce



CONFIDENTIALITY NOTICE

The information contained in this communication, including attachments, is privileged and confidential. It is intended only for the exclusive use of the addressee. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us at 727-578-6280 and immediately delete the communication.

"This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior approval form the U.S. Department of State."
Greg,

Thanks! I never knew that was there. Do you know if they have a BL-Tester for Epicor 10?

Bryce

I would assume so, but I don’t know. I have only installed 10 one time. I am waiting for the dust to settle before moving.

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Monday, July 27, 2015 6:55 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BomSearchAdapter PartMtl GetByID

 

 

Greg,

 

Thanks! I never knew that was there. Do you know if they have a BL-Tester for Epicor 10?

 

Bryce



CONFIDENTIALITY NOTICE

The information contained in this communication, including attachments, is privileged and confidential. It is intended only for the exclusive use of the addressee. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us at 727-578-6280 and immediately delete the communication.

"This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior approval form the U.S. Department of State."