The Void ReleaseDocProc(PX.Objects.GL.JournalEntry, PX.Objects.IN.INRegister, ReleaseDocProcDelegate) method in the PX.Objects.IN.INReleaseProcess_Extension graph extension is marked as [PXOverride], but its signature is not compatible with the original method.
Hi
I think there might be a discrepancy in the parameters you've provided in the override method.
public class APReleaseProcess_Extension : PXGraphExtension<PX.Objects.AP.APReleaseProcess>
{
public delegate List<APRegister> ReleaseDocProcDelegate(JournalEntry je, APRegister doc, Boolean isPrebooking, ref List<INRegister> inDocs);
PXOverride]
public List<APRegister> ReleaseDocProc(JournalEntry je, APRegister doc, Boolean isPrebooking, ref List<INRegister> inDocs, ReleaseDocProcDelegate baseMethod)
{
var value = baseMethod(je,doc,isPrebooking,ref inDocs);
return value;
}
}
Could you please try above code and publish?
Regards,
Sweta
here is my code in INReleaseProcess_Extension, it doesn’t relate to APRegister
public delegate void ReleaseDocProcDelegate(JournalEntry je, INRegister doc);
   PXOverride]
  public void ReleaseDocProc(
   JournalEntry je,
   INRegister doc,
   INReleaseProcess_Extension.ReleaseDocProcDelegate baseMethod)
  {
…...
}
Â
Hi
I tried it in my local instance and customization project got published successfully.
public class INReleaseProcess_Extension : PXGraphExtension<PX.Objects.IN.INReleaseProcess>
{
#region Event Handlers
public delegate void ReleaseDocProcDelegate(JournalEntry je, INRegister doc);
PXOverride]
public void ReleaseDocProc(JournalEntry je, INRegister doc, ReleaseDocProcDelegate baseMethod)
{
baseMethod(je,doc);
}
Â
HiÂ
I’ve reviewed the same in my local and am not facing any error.Â
 public class INReleaseProcessExtension : PXGraphExtension<INReleaseProcess>
  {
   /PXOverride]
   public delegate void ReleaseDocProcDelegate(JournalEntry je, INRegister doc);
      public virtual void ReleaseDocProc(JournalEntry je, INRegister doc, ReleaseDocProcDelegate baseMethod)
   {
     Â
   }
  }
Try with the sample code and let me know if still facing the same issue.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.