How to set up the Collection Terminal extensibility?
The PRIMAVERA Collection Terminal allows extensibility by using a Kalipso project with specific characteristics. Before starting, to open this project, Kalipso 5.0 will be necessary. In this project, a set of “Global Action Sets” is available with the prefix EXT, that includes the desired code for each event. You can download the base extensibility project here. Note: By clicking the menu Custom, the function “Global Action Sets” EXT_MenuCustom is activated, for which parameters, such as the ones identifying the selected Workstation, Operator and Work Center, are transferred. It is possible to set up the extensibility using the Kalipso project, by specifying the menus and records you wish to make available. After setting up the ERP extensibility, you must assign it to workstations. The information flow is bidirectional, that is, the information retrieved in the extensibility is considered on the terminal. For example, at the end of a work log, if the modified quantity returned on the corresponding table is changed, that will be the quantity being considered. To set up the ERP extensibility, follow these steps: Step 1: Set up the ERP extensibility Step 2: Assign the extensibility to the workstations For each event, tasks are made available with contextual information. These tables allow to retrieve the relevant information on the operation in progress. The flow is bidirectional, that is, the information retrieved in the extensibility is considered on the terminal, for example, at the end of a work log, if the modified quantity returned on the corresponding table is changed, that will be the quantity being considered. The events made available are the following: For each process, there can be three types of events: This way, it is possible to intervene before, after or as a replacement, and when intervening as a replacement, the terminal will not perform any action. The necessary code to execute the operation will be implemented on the extensibility project. Important note: The EXT_2005_AntesFimPicagemClique and EXT_9001_AntesAplicacoAoAbrir events only allow to intervene on the type of event before. It is worth noting that, when clicking the menu Custom “GAS” “EXT_MenuCustom” is executed, and you must specify in this function the desired code for the action. You can download the base extensibility project here. The tables made available on the extensibility project are the following:ERP Extensibility Configuration
Note: The description will be presented on the Terminal menu Custom and the code is the form identifier in Kalipso;Available events
Included processes
Work log start and end (EXT_Picagem)
IDCentroTrabalho INT IDOperador INT IDOrdemFabrico INT IDDiarioTrabalhoPendente INT QuantidadeFabricada DECIMAL QuantidadeRejeitada DECIMAL EntradaStock DECIMAL OperacaoTerminada BIT EntradaStockArmazem STRING EntradaStockLocalizacao STRING EntradaStockLote STRING IDOrdemFabricoOperacao INT
Component consumption (EXT_Consumos)
IDOperador | INT |
IDOrdemFabricoOperacao | INT |
IDOrdemFabricoComponente | INT |
IDOrdemFabricoComponenteGuid | STRING |
Artigo | STRING |
DescricaoArtigo | STRING |
Unidade | STRING |
Armazem | STRING |
Localizacao | STRING |
Lote | STRING |
EstadoInventario | STRING |
IDReservaStock | STRING |
QuantidadePrevista | DECIMAL |
QuantidadeConsumida | DECIMAL |
TrataNumerosSerie | BIT |
Quality records (EXT_Qualidade)
IDOrdemFabricoOperacao | INT |
IDGama | INT |
Factor | STRING |
DescricaoFactor | STRING |
Posicao | INT |
Tipo | INT |
ValorObservado | STRING |
Armazem | STRING |
Lote | STRING |
Table user fields GPR_DiarioTrabalho (EXT_CamposUtilDT)
IDOperador | INT |
IDOrdemFabricoOperacao | INT |
Nome | STRING |
Valor | STRING |
Tipo | STRING |
Documents resulting from the work log (EOF+SOF) (EXT_Documentos)
IDOrdemFabricoOperacao | INT |
IDDocumentoEntradaOrdemFabrico | STRING |
IDDocumentoSaidaOrdemFabrico | STRING |
IDDiarioTrabalho | INT |
IDOperador | INT |
Serial number consumption (EXT_ConsumosNumerosSerie)
IDOperador | INT |
IDOrdemFabricoComponenteGuid | STRING |
IDOrdemFabricoOperacao | INT |
IDNumeroSerie | STRING |
NumeroSerie | STRING |
Armazem | STRING |
Localizacao | STRING |
Lote | STRING |
EstadoStock | STRING |
IDReserva | STRING |
Paragens (EXT_Paragens)
IDParagem | INT |
IDCentroTrabalho | INT |
IDOrdemFabrico | INT |
IDTipoAvaria | INT |
IDTipoParagem | INT |
DataInicio | DATETIME |
DataFimPrevista | DATETIME |
DataFim | DATETIME |
Duracao | INT |
Update Extensibility Project
To allow you to update the extensibility project without having to redo all the specific developments in the new version, we recommend the following procedure:
- Copy the KZC file from the main project (TR_PMV10.kzc), provided in the Components folder of the new extensibility project to the Components folder of the extensibility project currently in use;
- Open the extensibility project currently in use to update the database;
- Copy the new functions in the new extensibility project to the extensibility project in use and implement them (you only need to copy the functions you want to implement).
login para deixar a sua opinião.