Histórico da Página
Composition Setup |
---|
import.css=/download/attachments/327912/newLayout.css |
Portuguese | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PEC073 - Visualização de pedidos de venda
Abrangência
Sintaxe PEC073 ( ) --> Nil Parâmetros
Retorno
Descrição
Ponto de entrada do Portal do Cliente -> Vendas e Distribuição -> Acompanhamento de Pedidos. Este ponto é usado na rotina PWSC070.PRW, na visualização dos pedidos de venda.
Parâmetro
PARAMIXB[1]
Exemplo
User Function PEC073()
Local aReturn := {}
Do Case Case cParam == 1 AAdd( aReturn, “ADDITIONALEXPENSEVALUE” ) //C5_DESPESA AAdd( aReturn, “ADJUSTMENTTYPE” ) //C5_REAJUST AAdd( aReturn, “APROBATIONTYPE” ) //C5_TIPLIB AAdd( aReturn, “BANKCODE” ) //C5_BANCO AAdd( aReturn, “BIDNUMBER” ) //C5_COTACAO AAdd( aReturn, “CARRIERCODE” ) //C5_TRANSP AAdd( aReturn, “CUSTOMERCODE” ) //C5_CLIENTE AAdd( aReturn, “CUSTOMERTYPE” ) //C5_TIPOCLI AAdd( aReturn, “CUSTOMERUNIT” ) //C5_LOJACLI AAdd( aReturn, “DELIVERYCUSTOMER” ) //C5_CLIENT AAdd( aReturn, “DELIVERYUNITCODE” ) //C5_LOJAENT AAdd( aReturn, “DISCOUNT1” ) //C5_DESC1 AAdd( aReturn, “DISCOUNT2” ) //C5_DESC2 AAdd( aReturn, “DISCOUNT3” ) //C5_DESC3 AAdd( aReturn, “DISCOUNT4” ) //C5_DESC4 AAdd( aReturn, “FINANCIALDISCOUNT” ) //C5_DESCFI AAdd( aReturn, “FINANCIALINCREASE” ) //C5_ACRSFIN AAdd( aReturn, “FREIGHTTYPE” ) //C5_TPFRETE AAdd( aReturn, “FREIGHTVALUE” ) //C5_FRETE AAdd( aReturn, “GROSSWEIGHT” ) //C5_PBRUTO AAdd( aReturn, “INDEMNITYPERCENTAGE” ) //C5_PDESCAB AAdd( aReturn, “INDEMNITYVALUE” ) //C5_DESCONT AAdd( aReturn, “INDEPENDENTFREIGHT” ) //C5_FRETAUT AAdd( aReturn, “INSURANCEVALUE” ) //C5_SEGURO AAdd( aReturn, “INVOICEMESSAGE” ) //C5_MENNOTA AAdd( aReturn, “NETWEIGHT” ) //C5_PESOL AAdd( aReturn, “ORDERID” ) //C5_NUM AAdd( aReturn, “ORDERTYPECODE” ) //C5_TIPO AAdd( aReturn, “PAYMENTPLANCODE” ) //C5_CONDPAG AAdd( aReturn, “PRICELISTCODE” ) //C5_TABELA AAdd( aReturn, “PRICEWITHSERVICETAX” ) //C5_INCISS AAdd( aReturn, “REDELIVERYCARRIERCODE” ) //C5_REDESP AAdd( aReturn, “REGISTERDATE” ) //C5_EMISSAO AAdd( aReturn, “SALESORDERCURRENCY” ) //C5_MOEDA AAdd( aReturn, “STANDARDMESSAGE1” ) //C5_MENPAD
Case cParam == 2 AAdd( aReturn, “CUSTOMERORDERNUMBER” ) //C6_PEDCLI AAdd( aReturn, “DELIVERYDATE” ) //C6_ENTREG AAdd( aReturn, “DISCOUNTPERCENTAGE” ) //C6_DESCONT AAdd( aReturn, “FISCALOPERATION” ) //C6_CF AAdd( aReturn, “ITEMDISCOUNTVALUE” ) //C6_VALDESC AAdd( aReturn, “ITEMOUTFLOWTYPE” ) //C6_TES AAdd( aReturn, “LOCATION” ) //C6_LOCALIZ AAdd( aReturn, “LOTNUMBER” ) //C6_LOTECTL AAdd( aReturn, “MANUFACTURERCODE” ) //C6_CODFAB AAdd( aReturn, “MANUFACTURERUNIT” ) //C6_LOJAFA AAdd( aReturn, “NETTOTAL” ) //C6_VALOR AAdd( aReturn, “NETUNITPRICE” ) //C6_PRCVEN AAdd( aReturn, “OPERATIONTYPE” ) //C6_OPER AAdd( aReturn, “ORDERID” ) //C6_NUM AAdd( aReturn, “ORDERITEM” ) //C6_ITEM AAdd( aReturn, “ORIGINALINVOICE” ) //C6_NFORI AAdd( aReturn, “ORIGINALINVOICEITEM” ) //C6_ITEMORI AAdd( aReturn, “ORIGINALINVOICESERIALID” ) //C6_SERIORI AAdd( aReturn, “POGRADEITEM” ) //C6_ITEMGRD AAdd( aReturn, “POID” ) //C6_NUMOP AAdd( aReturn, “POITEM” ) //C6_ITEMOP AAdd( aReturn, “POSEQUENCE” ) //C2_SEQUEN AAdd( aReturn, “PRODUCTDESCRIPTION” ) //C6_DESCRI AAdd( aReturn, “PRODUCTID” ) //C6_PRODUTO AAdd( aReturn, “PRODUCTSERIALNUMBER” ) //C6_NUMSERI AAdd( aReturn, “QUANTITY” ) //C6_QTDVEN AAdd( aReturn, “QUANTITYAPPROVED” ) //C6_QTDLIB AAdd( aReturn, “QUANTITYRELEASEDSECONDUNIT” ) //C6_QTDLIB2 AAdd( aReturn, “SECONDMEASUREUNITQUANTITY” ) //C6_UNSVEN AAdd( aReturn, “SECONDUNITOFMEASURE” ) //C6_SEGUM AAdd( aReturn, “SUBLOT” ) //C6_NUMLOTE AAdd( aReturn, “UNITLISTPRICE” ) //C6_PRUNIT AAdd( aReturn, “UNITOFMEASURE” ) //C6_UM AAdd( aReturn, “WAREHOUSE” ) //C6_LOCAL
Case cParam == 3 AAdd( aReturn, “CUSTOMERCODE” ) //C9_CLIENTE AAdd( aReturn, “CUSTOMERUNIT” ) //C9_LOJA AAdd( aReturn, “ORDERID” ) //C9_PEDIDO AAdd( aReturn, “ORDERITEM” ) //C9_ITEM AAdd( aReturn, “PRODUCTID” ) //C9_PRODUTO AAdd( aReturn, “QUANTITYAPPROVED” ) //C9_QTDLIB AAdd( aReturn, “STATUS” ) //-- EndCase
Return aReturn
Ele foi disponibilizado para que os parâmetros passados através do array aReturn, mostre os campos desejados na tela de apresentação, para customização do Portal Protheus.
|