Questions tagged as 'advpl'

1
answer

Meaning of .CH in Clipper and ADVPL languages?

When we use a language like Clipper or ADVPL, we usually use libraries. In C language, these header files have the suffix .H, which means Header File . I think it should be Custom Header File or Clipper Header File , but still not s...
asked by 04.12.2018 / 20:45
4
answers

Compile-time type checking ADVPL

I'm using the ADVPL language at my stage and having many problems with type errors, variable scope, etc. In general, it should be checked at compile time, but I can only see the error at runtime and for this it is necessary to log in to the syst...
asked by 30.05.2017 / 13:42
2
answers

Load the contents of a TD into another TD ADVPL ASP

I have a question in a code that uses advpl (Microsiga Protheus) plus HTML. I need in the html part, that the content of a TD is captured at the time of writing, and is assigned in another TD. Here is the screenshot plus the code snippet:...
asked by 15.03.2018 / 14:32
1
answer

I have a problem loading a field using a function in ADVPL

I need to load the CK_XLOTE field by entering the product code in the CK_PRODUTO field, I am generating a function to perform this procedure, but it is not returning the batch in the field. Can anyone help me. Follow the code #INCLUDE 'PROT...
asked by 16.08.2018 / 19:58
2
answers

How to Set Focus on an MVC Component

I have a MVC template 3. After validating a header field ( formfield ), set focus to grid . How to do this?     
asked by 31.08.2016 / 00:17
0
answers

How do I prevent the HttpPost from ADVPL from printing the payload in the log file?

I'm doing a routine sending Protheus information to my system. To submit the information, I'm using the HttpPost function and submit an update data package. Each request sends, just payload, something around 190KiB. To send all the d...
asked by 21.11.2018 / 13:28
1
answer

Error debugging in TDS 11.2 (Eclipse) in Linux Mint 18

I configured the debug with the path of smartclient.exe (use via wine), the build works, only the debug that gives a permission error in java. Iniciando TOTVS Application org.eclipse.core.runtime.CoreException: Exception occurred executing com...
asked by 12.03.2017 / 16:04
3
answers

Error: 102 execute query via MsExecAuto

I have little experience with advpl . I was studying the subject and I have a problem. I get erro 102 when I try to include a record in the direct clients table in Protheus . I tried to include a registration via SQL SER...
asked by 03.10.2016 / 02:28
1
answer

I'm having this error in advpl

I have the image error when I print the Totvs sales order. But it only shows this error the third time I make the impression, I print once ok right, the second time too, now the third time it presents the error. Follow the Printing code...
asked by 22.09.2018 / 18:22
1
answer

How to Update a Record in DB Using ADVPL

I'm having trouble doing something that should be pretty simple. I created a custom field for a table named SALDO . In my code a SELECT is made to access the records that interest me with an alias TMP . After that SEL...
asked by 25.05.2017 / 13:57