SP_MOVF;Produtos do Pedido;sys_tbbrow; 8; 0;21;79;sp_movf;;
:SKEL
//*Min;pemin;N;99999;5;N;
//*Max;pemax;N;99999;5;N;
:TBMT
 22;ins_prd(D_oB,"P",.f.,.t.);Ins-Inclui ;
 43;ins_prd(D_oB,"P",.T.,.t.);+-Inclui ;
 83;rep_movf();S-Sugestoes ;
 13;pf_DoGet(D_oB,"P");Enter-Altera ;
 73;Lst_alias(D_OB);I-Imprime ;
 80;tb_pesq(D_OB);P-Pesquisa ;
 86;pfvalor(D_oB);V-Valor_Pedido ;
 93;disp_sdse(pcod);]-Demanda ;
 79;tb_index(D_OB);O-Ordena ;
 70;CiBrow("VB_FALTA",,"VB_FALT1") ;F-Faltas_do_Dia ;
:TBFI
Cod;PCOD;N;99999;5;N;
Desc;PDESC;C;@S30; 29;N;
Pedida;unid_Fech;N;9999;4;S;
Edicao;Pedicao;N;99999;5;S;
PrUnCst;pvluven3;N;9999.99;7;S;
PrUnVen;pvluvenda;N;9999.99;7;S;
Frc;pitens;N;999;3;N;
PrTotCst;MVALor3;N;99999.99;8;S;
PrTotVen;MVALor;N;99999.99;8;S;
Grade;Grade;C;@S!6;6;S;
UndVen;unid_Fech*pitens;N;999999;6;N;
Cod Dic;Pdic;N;99999999;8;N;
