Completed

Protheus - Relatorio de Verificacao de Custo

Published on the June 26, 2015 in IT & Programming

About this project

Open

Relatorio de Revisao de Custo

Parametros:
-De Armazem:
-Ate Armazem:
-De Produto:
-Ate Produto:
Seleciona Filial: (Sim/Nao)
-De Filial
-Ate Filial
Tipo: (Resumido / Detalhado)

Visualizacao do resumido
(Codigo / Local / Diferenca)

Visualizacao do detalhado
(Todos os campos)

Query modelo a ser utilizada

SELECT B2_FILIAL, B2_COD, B2_LOCAL, B2_QATU,B2_VATU1, B1_UPRC, B2_CM1,
--(B2_VATU1/B2_qatu)as novocm,
round( (b2_qatu*b1_uprc),2) as alvovalor,
round((b2_vatu1-(b2_qatu*b1_uprc)),2) as diferenca
from sb2010
inner join sb1010
on sb2010.B2_COD=SB1010.B1_COD AND SB2010.B2_FILIAL=SB1010.B1_FILIAL
WHERE
--B2_COD NOT LIKE '9%'
B2_COD LIKE '0%' AND B2_FILIAL='01'
AND(B2_QATU <>0 AND B2_VATU1<>0) and (B2_QATU*B1_UPRC)<B2_VATU1
--AND (B2_CM1>2*B1_UPRC OR B2_CM1<(B1_UPRC/2) ) AND B2_CM1<>0
ORDER BY B2_LOCAL, B2_COD ASC
;

Category IT & Programming
Is this a project or a position? Project
I currently have I have an idea
Required availability As needed
Experience in this type of projects Yes (I have managed this kind of project before)
API Integrations Other (Other APIs)

Delivery term: June 29, 2015