What references do you need to have access to the existing methods in the clients file?

1

For V10 extensibility projects, in VS we have these references for access to Publisher methods:

using Primavera.Extensibility.BusinessEntities.ExtensibilityService.EventArgs;
using Primavera.Extensibility.Sales.Editors;

And in order to access the customer listing methods, what are the necessary references?

    
asked by anonymous 08.10.2018 / 12:14

2 answers

0

All common entities (Customers, Suppliers, Articles, etc.) are in the Base module. For extensibility projects, you should add the following reference:

  

Spring.Extensibility.Base

How do you want to complete the customer listing, which is at the interface level, you should use Editors .

Code sample:

using Primavera.Extensibility.Base.Editors;

namespace Teste
{
    public class Class1 : FichaClientes
    {   
    }
}
    
08.10.2018 / 12:41
2

With the architectural changes of the spring version 10 extensibility engine, a re-organization of the classes and assemblies giving it support has been performed. So at the level of the events published by each of the entities and modules of the ERP they can always be found in the C:\Program Files (x86)\PRIMAVERA\SG100\Apl folder according to the following pattern in the mome Spring.Extensibility., So for the case Spring.Extensibility.Base.dll seen the entities are in the base module.

Organizing the namespaces of these assemblies is always done as follows

  • Spring.Extensibility..Editors to publish event events.
  • Spring.Extensibility..Services to publish engine events.

For access to client entity events: Interface

using Primavera.Extensibility.Base.Editors;

    namespace Teste
    {
        public class Class1 : FichaClientes
        {   
        }
    }

For access to client entity events: Engine

using Primavera.Extensibility.Base.Services;

namespace Teste
{
    public class Class1 : FichaClientes
    {   
    }
}
    
08.10.2018 / 13:16