Páginas filhas
  • DI_PCP_Protheus_PPI_Multitask_Integration

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Message

Tag

Description

Table/Field:

Protheus PCP

Table Field:

Protheus SFC

Type

Table/Field: PC-Factory

Type

BusinessContentType

 

 

 

 

 

 

 

 

Code

Resource Code

SH4.H4_CODE

CYH.CYH_CDRC

CHAR(06)

TBLTooling.Code

CHAR(15)

 

Name

Resource Name

SH4.H4_DESCRI

CYH.CYH_NMRC

CHAR(40)

TBLTooling.Name

CHAR(50)

 

Type

Resource Type

1=Operator;2=Tool;

3=Team;4=Equipment.

 

CYH.CYH_TPRC

 1=Operator;2=Tool;

3=Team;4=Equipment

CHAR(25)

 

 

 

ProductionAreaCode

Production Area

 

CYH.CYH_CDARPO

CHAR(10)

 

 

 

ProductionAreaDescription

Production area description

 

CYA.CYA_DSARPO

CHAR(40)

 

 

 ItemComponentType

 

 

 

 

 

 

 

 

ProductionShiftNumber

Shift

SH4.H4_TURNO

CYH.CYH_NRTN

CHAR(05)

 

 

 

LaborCode

MOB

Fixed '1'

CYH.CYH_CDMOD

CHAR(08)

 

 

 

StartExpirationDate

Start validity date

Current Date

CYH.CYH_DTVDBG

DATE

TBLTooling.Period

INT

 

EndExpirationDate

End Validity Date

 

CYH.CYH_DTVDED

DATE

TBLTooling.Period

INT

 

UnitCycleQuantity

Units Cycles

 

CYH.CYH_QTUNCI

NUM(07)

 

 

 

ToolCode

Tool

 

CYH.CYH_CDMPRC

CHAR(15)

 

 

 

ToolDescription

Tool Description

 

CYH.CYH_DSMPRC

CHAR(40)

 

 

Nota
titleNotaNote:
  • The Resource in the PCP indicates the machine, in the shop floor indicates toosl, operator etc;
  • When origin is PCP the tag Type (Resource Type) is generated in fixed value '2';
  • When origin is PCP the tag UnitCycleQuantity (Cycles Unit) is generated in fixed value '1';
  • When origin is PCP the tag UnitCycleQuantity (Cycles Unit) is generated in fixed value '1';
  • When origin is PCP the tag StartExpirationDate (Start Validity) is generated with date of message generation;
  • When origin is PCP the tag EndExpirationDate (End Validity) is generated in fixed value '1';
    Current date (dDataBase) + lifespan of tool (H4_VIDAUTI). Consider type of lifec ycle (H4_TIPOVID) - D=Days;H=Hours;M=Month;A=Year

...

MessageTagDescriptionTable/Field: ProtheusTypeTable/Field: PC-FactoryType
BusinessContentTypeItemCodeItem CodeSG2.G2_PRODUTOPRODUCTCHAR(15)

TBLInWOHD.ProductCode

TBLInWOHD.WOCode

CHAR(20)
 ItemDescriptionDescription of itemSB1.B1_DESCCHAR(40)  
 ItemInternalIdCompany[Branch|Item

EMPRESA COMPANY + SG2.G2_FILIAL BRANCH +

SG2.G2_PRODUTOPRODUCT

   
 ScriptCodeCode of ScriptoSG2.G2_CODIGOCODECHAR(02)  
 ScriptDescriptionDescription Script--CHAR(40)  
 ScriptAlternativeScript Alternative--CHAR(02)  
ListOfActivity      
 ActivityInternalIDID OperationSG2.R_E_C_N_O_NUM(05)  
 ActivityCodeCode of OperationSG2.G2_OPERACCHAR(02)TBLInWodet.CodeCHAR(10)
 ActivityDescriptionDescription OperationSG2.G2_DESCRICHAR(60)TBLInWodet.NameCHAR(40)
 MachineCodeMachine CodeSG2.G2_RECURSORESOURCECHAR(06)TBLInWodet.ResourceCHAR(15)
 ToolCodeCode ToolSG2.G2_FERRAMTOOLCHAR(06)  
 ActivityTypeType Operation

1 = Executa operaçãoExecutes operation; 2 = Não executaDoes not execute.

CHAR(01)  
 WorkCenterCodeCode Work CenterSG2.G2_CTRABCHAR(06)TBLInWodet.ManagerGrpCodeCHAR(15)
 WorkCenterInternalIdId Work CenterEMPRESA COMPANY + SG2.G2_FILIAL BRANCH + SG2.G2_CTRAB   
 UnitItemNumberStandard Lot SG2.G2_LOTEPADNUM(06)TBLInWodet. StdSpeedDEC(28,23)
 TimeResourceTime Resource0 TBLInWodet. StdSpeedDEC(28,23)
 TimeMachineTime MachineSG2.G2_TEMPADDEC(05,2)TBLInWodet. StdSpeedDEC(28,23)
 TimeSetupTime PreparationSG2.G2_SETUPDEC(05,2)TBLInWodet. SetUpTimeINT
 UnitTimeTypeType Unit Time1 = HorasHours;2=MinutosMinutes;3=SegundosSeconds;4=DiasDays TBLInWodet. StdSpeedFormatTINYINT
 ScriptAlternativeAlternativeSG2.G2_ROTALTCHAR(02)  
 InitialDateInitial DateSG2.G2_DTINIDATETBLInWodet.DtPlanStartDATETIME
 FinalDateFinal DateSG2.G2_DTFIMDATETBLInWodet.DtPlanEndDATETIME
 PercentageScrapValue% Scrap--   
 PercentageValueProportion--   
 ResourceQuantityQuantity Resource--  
Nota
titleNotaNote:
  • The tag ActivityType (Operation Type) is generated with fixed value '1';
  • The tag ActivityType (Time Unit Type) is generated with fixed value '1';
  • The tag ListOfPertOrders is not generated for Protheus;
  • In the deletion of a script, do not delete if there is integrity with the routine of OPERATIONS x COMPONENTS, MATA637. In this case, you do not need to send any message to PC-Factory;
  • When adding, editing or deleting data from MATA637, structure message is sent, ItemStructure.

...

Addresses Transaction: AdressStock_1_000.xsd
Message Idenfier: AdressStock
Version: 1_000
Protheus Module: SiGAPCP
Sending Type: Synchronous

 

MensagemMessageTagDescriçãoDescriptionTabelaTable/CampoField: ProtheusTipoTypeTabelaTable/CampoField: PC-FactoryTipoType
BusinessContentTypeWarehouseCodeArmazémWarehouse/DepósitoDepositSBE.BE_LOCALLOCATCHAR(02)TBLInAddress.WarehouseCodeCHAR(15)
 LocationCodeEndereçoAddress/LocalizaçãoLocationSBE.BE_LOCALIZLOCATCHAR(15)TBLInAddress.CodeCHAR(15)
 AdressInternalIdChave completa endereçoFull Key address

 COMPANY  EMPRESA + SBE.BE_FILIAL BRANCH + SBE.BE_LOCAL LOCAT + SBE.BE_LOCALIZLOCAT

   
 AdressStockDescriptionDescrição do endereçoDescription of addressoSBE.BE_DESCRICDESCRIPCHAR(30)TBLInAddress.ExtCodeCHAR(20)

...

Balance Transaction: ItemStockLevel_1_000.xsd
Message Identifier: ItemStockLevel
Version: 1_000
Protheus Module: Various
Sending Type: Synchronous

 

MensagemMessageTagDescriçãoDescriptionTabelaTable/CampoField: ProtheusTipoTypeTabelaTable/CampoField: PC-FactoryTipoType
BusinessContentTypeItemCodeCódigo do produtoCode of productSB2.B2_CODCHAR(15)TBLInMovMat.ProductCodeCHAR(20)
 ItemDescriptionDescrição do Description of itemSB1.B1_DESCCHAR(30)  
ListOfStock  

 

   
 ReferenceCodeReferênciaReference--   
 WarehouseCodeDepósito/Local de estoqe/ArmazemDeposit/Location of stock/WarehouseSB2.B2_LOCALLOCATCHAR(02)TBLInMovMat.WarehouseCodeCHAR(15)
 LotCodeNúmero do LoteNumber of LotSB8.B8_LOTECTLCHAR(10)TBLInMovMat.LotCodeCHAR(41)
 SubLotCodeSub-LoteLotSB8.B8_NUMLOTENUMBATCHCHAR(06)  
 NumberSeriesNúmero de SérieNumber of SeriesSBF.BF_NUMSERICHAR(20)  
 AddressCodeEndereçoAddress/LocalizaçãoLocationSBF.BF_LOCALIZLOCATCHAR(15)TBLInMovMat.AddressCodeCHAR(15)
 LotDueDateData de ValidadeValidity DateSB8.B8_DTVALIDDATETBLInMovMat.LotDtValidityDATETIME
 CurrentStockAmountSaldo de estoqueBalance of stock

SB2.B2_QATU

SB8.B8_SALDOBALANCE

SBF.BF_QUANT

DEC(12,2)  
 BookedStockAmountQuantidade ReservadaReserved Quantiy

SB2.B2_RESERVA

SB8.B8_EMPENHOALLOCATION

SBF.BF_EMPENHOALLOCATION

DEC(12,2)  
 AvailableStockAmountSaldo disponívelBalance available

SB2.B2_QATU - SB2.B2_RESERVA

SB8.B8_SALDO - SB8.B8_EMPENHOALLOCATION

SBF.BF_QUANT - SBF.BF_EMPENHOALLOCATION

DEC(12,2)  
 
QuantityUpdated
Quantidade AtualizadaUpdated Quantity DEC(12,2)TBLInMovMat.QtyDEC(18,2)
 
InputOutputEntrada ou SaídaInput or Output1 = Entrada ou Input or 2 = SaídaOutputCHAR(01)TBLInMovMat.ClassificationCHAR(15)
Nota
titleNotaNote:
  • When updating new balance in ERP, message is sent to PC-Factory.
    Transactions generating movement of stock and executing balance updating routines activating integration:
    Inbound Inv.  - Function B2ATUCOMD1
    Sale Inv. - Function B2ATUCOMD2 Internal Transac. - Function B2ATUCOMD3
  • When the balance is updated by an update of PC-Factory do not generated the balance updating message. When the origin of the balance change is TOTVSMES, message is not generated.
    In production annotation message, tag Product Name indicates what is sent to record. For TOTVS MES, this information is saved in SH6.H6_OBSERVA = 'TOTVSMES'.
    If the movement is internal, it is registered in SD3.D3_OBSERVA = 'TOTVSMES'.
  • The field QuantityUpdated corresponds to the updated quantity, that is, quantity being moved. 
  • The field InputOutput indicates if the movement is input or output. 
  • When the item controls address (B1_LOCALIZ), the balance message must be generated only in the confirmation of MATA265, routine executing the address.
  • The routines of initial balance of PCP and Stock, MATA220 and MATA805 also generated the balance message.

...

Message Identifier: WasteReason
Version: 1_000
Protheus Module: SIGAPCP/SIGASFC
Sending Type: Synchronous

 

MessageMensagemTagDescriçãoDescription

TabelaTable/CampoField:

Protheus PCP

Tabela CampoTable Field:

Protheus SFC

TipoTypeTabelaTable/CampoField: PC-FactoryTipoType
BusinessContentTypeCodeCódigo RefugoScrap CodeSX5.X5_CHAVEKEYCYO.CYO_CDRFCHAR(08)TBLOutScrap.CodeCHAR(15)
 DescriptionDescrição do RefugoDescription of Scrap

X5_DESCRI

X5_DESCSPA

X5_DESCENG

CYO.CYO_DSRFCHAR(40)TBLOutScrap.NameCHAR(30)
 IsReworkRetrabalhoRework

 

CYO.CYO_LGRTBOOLEAN  
 IsScrapMaterialRefugo Material ScrapSBE.BE_DESCRICCYO.CYO_LGRFMPBOOLEAN 
Nota
titleNotaNote:
    • When no is integrated with Shop Floor, MV_INTSFC equal to '0' the scrap is registered in generic table SX5. 
    • It must search in SX5 table according to command below:
      select X5_CHAVE from sx5990 where X5_TABELA = '43'
      Where:
      - Code of reason is X5_CHAVE
      Table of reason is '43'.
    • When it is integrated with  Shop Floor, MV_INTSFC equal to '1' is generated only the table of  Shop Floor - CYO. Routine SFCA003. If in the message there is no indicator of scrap or rework, consider scrap (CYO_LGRFMP = 'T').
    • Waste reasons have different sizes in tables. Validate it if receipt code does not exceed the size of columns in Protheus.
    • When uses the SIGAPCP it must validate a SX5.X5_CHAVE and SBC.BC_MOTIVO.
    • When uses the SIGASFC validate against the CYO.CYO_CDRF, CY0.CY0_CDRF  and SBC.BC_MOTIVO.

...

Message

Tag

Description

Table/Field:

Protheus PCP

Table Field:

Protheus SFC

Type

Table/Field: PC-Factory

Type

BusinessContentType

Code

Stoppage Reason Code

SX5.X5_CHAVEKEY

CYN.CYN_CDSP

CHAR(10)

TBLOutResourceStatus.Code

CHAR(05)

 

Description

Stoppage Description

X5_DESCRI

X5_DESCSPA

X5_DESCENG

CYN.CYN_DSSP

CHAR(40)

TBLOutResourceStatus.Name

CHAR(30)

 

IsEfficiency

Change Efficiency

--

--

 

 

 

 

IsEmailEquipment

E-mail Planner

--

--

 

 

 

 

IsServiceRequest

Issue Service Request

--

--

 

 

 

 

IsSetup

Setup Stoppage

--

--

 

TBLOutResourceStatus.FlgSetup

SMALLINT

Nota
titleNotaNote:
    • When no is integrated with Shop Floor, MV_INTSFC equal to '0' the stoppage reason is registered in generic table SX5. 
    • It must search in SX5 table according to command below:
      select X5_CHAVE from sx5990 where X5_TABELA = '44'
      Where:
      - Code of reason is X5_CHAVE
      Table of reason is '44'.
    • When it is integrated with  Shop Floor, MV_INTSFC equal to '1' is generated only the table of  Shop Floor - CYN. Routine SFCA004. 
    • Stoppage reasons have different sizes in tables. Validate it if receipt code does not exceed the size of columns in Protheus.
      When it uses the SIGAPCP it must validate against the SX5.X5_CHAVE and SH6.H6_MOTIVO
      When it uses the SIGASFC validate against the CYN.CYN_CDSP, CYX.CYX_CDSP and SH6.H6_MOTIVO

...

Message Identifier: ProductionOrder
Version: 2_003
Module Protheus: SIGAPCP
Sending Type: Synchronous

 

MessageMesagemTagDescriçãoDescription

TabelaTable/CampoField

TipoTypeTabelaTable/CampoField: PC-FactoryTipoType
BusinessContentTypeNumberNúmero Ordem ProduçãoNumber Production OrderSC2.C2_NUM + SC2.C2_ITEM + SC2.C2_SEQUENCHAR(20)TBLInWOHD.CodeCHAR(41)
 ProductionOrderUniqueIDEmpresaCompany+FilialBranch+Ordem ProduçãoProduction Order

EMPRESA + SC2.C2_FILIAL + SC2.C2_NUM +

SC2.C2_ITEM + SC2.C2_SEQUEN

CHAR(30)  
 ItemCodeCódigo Code ItemSC2.C2_PRODUTOCHAR(15)TBLInWOHD.ProductCodeCHAR(20)
 ItemDescriptionDescrição Description ItemSB1.B1_DESCCHAR(40)  
 TypeTipo da OrdemType of Order

1= Interna; 2=Externa; 3=Interna/Externa; 4=Retrabalho;

5=Conserto; 6=Manutenção; 7=Ativo Fixo;

8=Ferramentaria; 9=Reaproveitamento

 

CHAR(01)TBLInWOHD.WoTypeCodeCHAR(20)
 QuantityQuantidadeQuantitySC2.C2_QUANTDEC(12,2)TBLInWOHD.TotalQty

 DEC(19,4)

 ReportQuantityQuantidade ReportadaQuantity ReportedSC2.C2QUJEDEC(12,2)  
 UnitOfMeasureCodeUnidade MedidaUnit of MeasureSC2.C2_UMCHAR(02)TBLInWoDet.Unit1CodeCHAR(05)
 RequestOrderCodeCódigo Pedido Ordem ProduçãoRequest Code Production OrderSC2.C2_PEDIDOCHAR(06)  
 StatusOrderTypeEstado da ordemOrder Status

Prevista/Aberta = 1

Iniciada = 6

Encerrada Parcial/Total = 7

Ociosa = 9

CHAR(01)TBLInWOHD.StatusSMALLINT
 WarehouseCodeCódigo DepósitoSC2.C2_LOCALCHAR(02)TBLInWOHD.AuxCode1CHAR(20)
 EndOrderDateTimeData Fim Ordem Produção CPSC2.C2_DATPRFDATETBLInWOHD.DtPlanEndDATETIME
 StartOrderDateTimeData Início Ordem Produção CPSC2.C2_DATPRIDATETBLInWOHD.DtPlanStartDATETIME
 AbbreviationProviderNameNome ClienteSC5.C5_CLIENTE ( SA1.A1_NOME)CHAR(30)  
 ScriptCodeCódigo RoteiroSC2.C2_ROTEIROCHAR(02)  
 ReportOrderTypeTipo de Reporte

1 = Ordem; 2 = Operações; 3 = Ponto Controle; 4 = Item

 

CHAR(01)  
ListOfActivityOrders      
 ProductionOrderNumberOrdem de Produção

SC2.C2_NUM + SC2.C2_ITEM +

SC2.C2_SEQUEN

CHAR(20)TBLInWoDet.Wocode

CHAR(10)

 ActivityIDID do RegistroRECNO (SG2,SHY ou SH8)CHAR(10)  
 ActivityCodeCódigo Operação

SG2.G2_OPERAC

SHY.HY_OPERAC

SH8.H8_OPER

CHAR(02)TBLInWoDet.WODetCode+Split

 CHAR(10)

 ActivityDescriptionDescrição OperaçãoSG2.G2_DESCRICHAR(40)TBLInWoDet.WODetName

CHAR(30)

 SplitDesdobramento da operaçãoSH8.H8_DESDOBRCHAR(04)  
 ItemCodeCódigo do item

SC2.C2_PRODUTO

CHAR(15)  
 ItemDescriptionDescrição do itemSB1.B1_DESCCHAR(40)  
 ActivityTypeTipo Operação1 - Aponta ; 2-Não ApontaCHAR(01)  
 WorkCenterCodeCódigo Centro de Trabalho

SG2.G2_CTRAB

SHY.HY_CTRAB

SH8.H8_CTRAB

CHAR(06)TLBInWODet.ManagerGrpCode CHAR(15)
 WorkCenterDescriptionDescrição Centro de TrabalhoSHB.HB_NOMECHAR(30)  
 UnitTimeTypeTipo Unidade Tempo1 - Horas; 2 - Minutos; 3- Segundos; 4 - DiasCHAR(01)TLBInWODet.StdSpeedFormat TINYINT
 TimeResourceTempo Recurso (Tempo padrão para um lote)SG2.G2_TEMPADDEC(05,2)TLBInWODet.StdSpeed DEC(28,23)
 TimeMachineTempo Máquina (Tempo para fazer toda a ordem)

SG2.G2_TEMPAD * SC2.C2_QUANT

SHY.HY_TEMPO 

SH8.H8_HRINI - SH8.H8_HRFIM

DEC(14,4)

TLBInWODet.StdSpeed

DEC(28,23)
 TimeSetupTempo Preparação

SG2.G2_SETUP

SHY.HY_TEMPOS

SH8.H8_SETUP

DEC(15,4)TLBInWODet.SetUpTimeINT
 TimeMODTempo Homen--   
 TimeIndMESIindicador de tempo no MES1 = Tempo Máquina; 2 = Tempo mão-de-obra; 3 = Escolha pelo MES.CHAR(01)  
 ScriptCodeCódigo Roteiro

SG2.G2_CODIGO

SHY.HY_ROTEIRO

SH8.H8_ROTEIRO

CHAR(02)  
 LaborCodeCódigo Mão de Obra DiretaMOD+CCCHAR(08)  
 UnitItemNumberLote PadrãoSG2.G2_LOTEPADNUM(05)TLBInWODet.StdSpeedDEC(28,23)
 IsActivityEndÚltima Operação

Na última operação passar TRUE.

Nas demais FALSE.

BOOLEANTLBInWODet.ReportTrigger

TINYINT

 MachineCodeCódigo Máquina

SG2_RECURSO

SHY_RECURSO

H8_RECURSO

CHAR(06)  
 StartPlanDateTimeData/Hora Início Programação

SHY.HY_HORAINI

SC2.C2_DATPRI

SH8.H8_DTINI

DATETLBInWODet.StartPlanDateTimeDATETIME
 EndPlanDateTimeData/Hora Fim Programação

SHY.HY_HORAFIM

SC2.C2_DATPRF

SH8.H8_DTFIM

DATETLBInWODet.EndPlanDateTimeDATETIME
 ProductionQuantityQuantidade a produzir na operação

SHY.HY_QUANT 

SH8.H8_QUANT 

SC2.C2_QUANT

DEC(12,2)TLBInWODet.Qty DEC(19,4)
 ActivityQuantityQuantidade da operação

SHY.HY_QUANT 

SH8.H8_QUANT 

SC2.C2_QUANT

DEC(12,2)  
 UnitActivityCodeUnidade de medidaSB1.B1_UMCHAR(02)TLBInWODet.Unit1CodeCHAR(5)
 SecondUnitActivityCodeSegunda unidade de medida na operação-- TLBInWODet.Unit2CodeCHAR(5)
 SecondUnitActivityFactorFator de conversão para segunda un. na operação-- TLBInWODet.Unit2Factor DEC(8,4)
 ResourceQuantityQuantidade de recursos

SG2.G2_MAOOBRA

SHY.HY_MAOOBRA

NUM(03)  
ListOfMaterialOrders      
 ProductionOrderNumberOrdem de produção

SC2.C2_NUM + SC2.C2_ITEM +

SC2.C2_SEQUEN

CHAR(20)TBLInBillMat.WocodeCHAR(41)
 MaterialIDID do registro da reservaSD4.R_E_C_N_O_CHAR(10)  
 MaterialCodeCódigo Item ReservaSD4.D4_CODCHAR(15)TBLInBillMat.ProductCodeCHAR(20)
 MaterialDescriptionDescrição do ItemSB1.B1_DESCCHAR(40)  
 ScriptCodeCódigo RoteiroSD4.D4_ROTEIROCHAR(02)  
 ActivityCodeCódigo OperaçãoSD4.D4_OPERACCHAR(02)TBLInBillMat.WODetCodeCHAR(10)
 WarehouseCodeCódigo DepósitoSD4.D4_LOCALCHAR(02)TBLInBillMat.ExtCodeCHAR(20)
 MaterialDateData ReservaSD4.D4_DATADATE  
 MaterialQuantityQuantidade ReservaSD4.D4_QUANTDEC(12,2)TBLInBillMat.TotalQtyDEC(19,4)
 LotCodeLoteSD4.D4_LOTECTLCHAR(10)  
 PertMaterialNumberSequência do itemSD4.D4_TRTCHAR(03)  
 RequestTypeTipo da RequisiçãoSB1.B1_APROPRICHAR(01)TBLInBillMat.CommentsCHAR(500)
(mais)ListOfAllocatedMaterial

 

      
 WarehouseCodeCódigo DepósitoSD4.D4_LOCALCHAR(02)TBLInMovMat.WarehouseCodeCHAR(15)
 LotCodeCódigo Lote

SD4.D4_LOTECTL

SDC.DC_LOTECTL

CHAR(10)TBLInMovMat.LotCodeCHAR(41)
 LocationCodeLocalização/EndereçoSDC.DC_LOCALIZCHAR(15)TBLInMovMat.AddressCodeCHAR(15)
 ActivityCodeCódigo OperaçãoSD4.D4_OPERACCHAR(02)TBLInMovMat.WoDetCodeCHAR(10)
 ScriptCodeCódigo RoteiroSD4.D4_ROTEIROCHAR(02)  
 AllocationQuantityQuantidade Alocada

SD4.D4_QUANT 

SDC.DC_QUANT

DEC(12,2)TBLInMovMat.Qty DEC(19,4)
 AllocationTypeTipo Alocação

1 = Soma;2=Diminui;3=Valor Absoluto

CHAR(01)TBLInMovMat.AllocationTypeINT
 SubLoteCodeSub Lote

SD4.D4_NUMLOTE

SDC.DC_NUMLOTE

CHAR(06)  
 NumberSeriesNúmero de SerieSDC.DC_NUMSERICHAR(20)  
 LotDueDateData de ValidadeSD4.D4_DTVALIDDATETBLInMovMat.LotDtValidityDATETIME
ListOfQuotaActivity      
 ProductionOrderNumberNúmero Ordem ProduçãoCY9.CY9_NRORPOCHAR(20)  
 ControlTypeSeleção Split--   
 ActivityIDID OperaçãoCY9.CY9_CDATCHAR(10)  
 ItemCodeCódigo do itenCYY.CYY_CDACCHAR(15)  
 ItemDescriptionDescrição do itemCYY.CYY_DSACCHAR(40)  
 StartActivityDateTimeData/Hora Início AtividadeCYY.CYY_DTBGAT / CYY.CYY_HRBGATDATETIMETBLInWODet.StartPlanDateTimeDATETIME
 EndActivityDateTimeData/Hora Fim AtividadeCYY.CYY_DTEDAT / CYY.CYY_HREDATDATETIME TBLInWODet.EndPlanDateTimeDATETIME
 ApprovedQuantityQuantidade AprovadaCYY.CYY_QTATAPDEC(13,4)  
 ScrapQuantityQuantidade RefugadaCYY.CYY_QTATRFDEC(13,4)  
 MachineCodeCódigo MáquinaCYY.CYY_CDMQCHAR(20)TBLInWODet.ResourceCodeCHAR(15)
 MachineDescriptionDescrição da MáquinaCYY.CYY_DSMQCHAR(40)  
 ActivityQuantityQuantidade PrevistaCYY.CYY_QTATDEC(12,4)TBLInWODet.QTYDEC(19,4)
 StandardSetupTempo Padrão PreparaçãoCYY.CYY_QTPASUNUM(10)  
 StandardActivityTempo Padrão OperaçãoCYY.CYY_QTPAATNUM(10)  
 StandardPostprocessingTempo Padrão Pós_processoCYY.CYY_QTPAPPNUM(10)  
 StandardMachineTempo Padrão MáquinaCYY.CYY_QTPAMQNUM(10)  
 StandardOperatorTempo Padrão MODCYY.CYY_QTPAOENUM(10)  
 UsedCapacityCapacidade UtilizadaCYY.CYY_QTVMATDEC(12,4)  
 ActivityTimeQuantityHora Disponível AtividadeCYY.CYY_HRDICHAR(08)  
 ReportQuantityQuantidade ReportadaCYY.CYY_QTATRPDEC(13,4)  
 ReworkQuantityQuantidade RetrabalhadaCYY.CYY_QTATRTDEC(12,4)  
 StartSetupDateTimeData/Hora Início PreparaçãoCYY.CYY_DTBGSU / CYY.CYY_HRBGSUDATETIME  
 EndSetupDateTimeData/Hora Fim PreparaçãoCYY.CYY_DTEDSU / CYY.CYY_HREDSUDATETIME  
 TimeSetupTempo PreparaçãoCY9.CY9_QTTESUNUM(10)TBLInWODet.SetUpTimeTINYINT
 TimeMachineTempo MáquinaCY9.CY9_QTTEMQNUM(10)TBLInWODet.StdSpeedDEC(28,23)
 TimeOperatorTempo MODCY9.CY9_QTTERCNUM(10)  
 TimePostprocessingTempo Pós ProcessoCY9.CY9_QTTEPPNUM(10)  
 QuotaActivityIDID SplitCYY.CYY_IDATQOCHAR(05)

ActivityCode+

TBLInWODet.WODetCode
CHAR(10)
 WorkCenterCodeCentro de TrabalhoCY9.CY9_CDCETRCHAR(10)TBLInWODet.ManagerGrpCodeCHAR(15)
 ReportedSplitSplit ReportadoCYY.CYY_LGQORPBOOELAN  
 StatusActivityTypeEstado OperaçãoCYY.CYY_TPSTATCHAR(01)  
(mais) ListOfQuotaActivityTools      
 ToolCodeFerramentaCYY.CYY_CDFECHAR(20)  
 ToolQuantityQuantidade FerramentaCYY.CYY_QTFENUM(03)  

...