

Best answer by darylbowman
I’m not good with Español, but the second error is arising from the fact that CRCreateInvoice is not a graph, but rather a generic extension of a graph. For this reason, I believe you’ll need to write a graph extension for the specific graph you’re targeting. For Opportunities (one entity that uses CRCreateInvoice), it would look like this:
namespace Test
{
// Acuminator disable once PX1016 ExtensionDoesNotDeclareIsActiveMethod extension should be constantly active
public class Test : PXGraphExtension<OpportunityMaint.CRCreateInvoiceExt, OpportunityMaint>
{
public delegate IEnumerable CreateInvoiceDelegate(PXAdapter adapter);
[PXOverride]
public virtual IEnumerable createInvoice(PXAdapter adapter, CreateInvoiceDelegate baseMethod)
{
// your code (executed before the original)
//
// Execute original method
return baseMethod(adapter);
}
}
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.