Tabela
BXM Composicao Equipe de Vendas
Campo Tipo Tamanho Decimal Titulo Formato Validacao F3 Contexto Lista Condicao PYME
BXM_FILIAL C 2 0 Filial S
BXM_SEQBXL C 8 0 Sequencial @! S
BXM_CODVEN C 6 0 Cod.Vendedor @! plsvldgd().and.ExistCpo("SA3",M->BXM_CODVEN,1) SA3 R S
BXM_DESVEN C 40 0 Nome Vend. @! V S
BXM_ID_VEN C 1 0 Ident.Membro @! pertence("123").and.if(M->BXM_ID_VEN=="2",plsvldgd(),if(M->BXM_ID_VEN=="3",plsvldgd(),.t.)) R 1=Vendedor;2=Supervisor;3=Gerente S
BXM_RATEIO N 7 2 % Rateio @E 999.99 S
BXM_COMSUP C 1 0 Com.Superv. @! R 0=Nao;1=Sim M->BXM_ID_VEN$"1" S
BXM_PERSUP N 7 2 % Com.Super. @E 999.99 if(M->BXM_COMSUP=="1",M->BXM_PERSUP>0,M->BXM_PERSUP==0) M->BXM_COMSUP="1" S
BXM_COMGER C 1 0 Com.Gerente @! R 0=Nao;1=Sim M->BXM_ID_VEN$"12" S
BXM_PERGER N 7 2 % Com.Geren. @E 999.99 if(M->BXM_COMGER=="1",M->BXM_PERGER>0,M->BXM_PERGER==0) M->BXM_COMGER="1" S
BXM_GRURAT C 3 0 Gr Rateio 999 R S