How to access IM Tables from BPM in Epicor 10.
Have anyone tried this and please let me know the use of IM Tables in Epicor.
Regards,
Dhanalakshmi.
How to access IM Tables from BPM in Epicor 10.
Have anyone tried this and please let me know the use of IM Tables in Epicor.
Regards,
Dhanalakshmi.
In Epicor 9, we can access from BPM without any issue. But In E10, I couldnāt.
I got the solution we can call using the BO Object SOPOLinkSvcContract and using the methods GetRows, GetOrderDtlā¦
Thanks for the responseā¦ Hope this helpsā¦
I am able to access the tables IMOrderHed and IMOrderDtl using the BO Object SOPOLinkSvcContract. But it didnāt return any rows. Is there any other way to access the tables so it return rows?
bool morePages = false;
string whereClauseIMOrderHednew = āCompany =āMJPāā;
Erp.Contracts.SOPOLinkSvcContract hICPOLinkSvc = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.SOPOLinkSvcContract>(Db);
Erp.Tablesets.SOPOLinkTableset hICPOLinkTS = new Erp.Tablesets.SOPOLinkTableset();
hICPOLinkTS = hICPOLinkSvc.GetRows(whereClauseIMOrderHednew, āā, āā, āā, 0, 0, out morePages);
foreach (Erp.Tablesets.IMOrderHedRow IMHRow in hICPOLinkTS.IMOrderHed)
{
foreach (Erp.Tablesets.IMOrderDtlRow IMDtRow in hICPOLinkTS.IMOrderDtl)
{
}
}
SOPOlinkeSvcContract getrows not returning a value when try to pass Company in the where condition getting an error Input String is not in correct format.
bool morePages = false;
string whereClauseIMOrderHednew = āCompany =āEPIC03āā;
Erp.Contracts.SOPOLinkSvcContract hICPOLinkSvc = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.SOPOLinkSvcContract>(Db);
Erp.Tablesets.SOPOLinkTableset hICPOLinkTS = new Erp.Tablesets.SOPOLinkTableset();
hICPOLinkTS = hICPOLinkSvc.GetRows(whereClauseIMOrderHednew, āā, āā, āā, 0, 0, out morePages);
Seems fine unless those quotes are somehow different from the normal quote.
ā - Normal Quote
ā - Quote you pasted
i have checked the Quotes by placing the Code in Visual Studio and as per your suggestion changed to Normal Quotes and Checked still not returning the results
whereClauseIMOrderHednew = āCompany =āMJPāā;
Thanks it workedā¦