Posts by Daniel Vieira • 383 points
16 posts
-
2
votes1
answer77
viewsA: VBA/VB6 Status transfer of a current account document
Good afternoon, In the document header missing enable the property Maintainability: objDocTrans.MantemEntidadePendentes = True In the case of lines, the correct shape is using the Add line method:…
vb.netanswered Daniel Vieira 383 -
4
votes1
answer94
viewsA: Error integrating document into inventory V10
Good afternoon, on the V10 all serial numbers have an identifier, missing indicate it. numeroserie.ID = "<Guid>"
vb.netanswered Daniel Vieira 383 -
2
votes2
answers209
viewsA: Migration Imprimelistagem V9 - V10 in web application
Good morning Bruno, do the following: Copy the report to the GCP LP Maps folder. Then, in the print request uses only the name of the report. Use this example that I created and worked: string…
c#answered Daniel Vieira 383 -
0
votes2
answers263
viewsA: V9 Primavera - C# error in attribute "Comercial.Vendas.Davaloratributo"
Good morning, try changing the code to something like this: StdBELista lista = PriEngine.BSO.Consulta("Select tipodoc, serie, numdoc from cabecdoc where id =…
c#answered Daniel Vieira 383 -
1
votes1
answer83
viewsA: V10 - VB.NET >User Validation/Correct Password
I’ve been testing I got what you want as follows: Estancio o Stdplatbs Dim plataforma = New StdPlatBS() Validated the login: Dim login As Object =…
vb.netanswered Daniel Vieira 383 -
0
votes1
answer216
viewsA: Spring V10, Extensibility, how to use the function: this.ContextService.Articleprices.Getedita(Dynamic Index)
Good morning, Manipulation of these values in the article sheet from a user separator can be done as follows:: if (this.ContextService.ArtigoPrecos != null) { BasBEArtigoMoeda precos =…
c#answered Daniel Vieira 383 -
0
votes1
answer74
viewsA: Error calling printing of a map in vba V9
Good morning, I think that this problem may have to do with the fact that there are tables on the map that are not located. You must edit the map with Crystal Reports and make its location. Being a…
vbaanswered Daniel Vieira 383 -
-2
votes2
answers142
viewsA: Code in Employees After Saving Business Layer (V10)
Good afternoon, It is necessary to put this code after Abreempresatrabalho: // Use this service to trigger the API events. ExtensibilityService service = new ExtensibilityService();…
c#answered Daniel Vieira 383 -
0
votes2
answers93
viewsA: V9 - Convert from VB to C# Import Accounting Records
Hello, I think you’re referring to the V9 where you use the interops. The allocation of values in this case is as follows:: CblDoc.set_Ano(2019);
c#answered Daniel Vieira 383 -
1
votes1
answer78
viewsA: How to update a document line field in V9?
Good afternoon, it can be done like this: PriEngine.BSO.Comercial.Compras.AdicionaLinha(invoice, "A0001", 1); invoice.get_Linhas()[1].set_CCustoCBL("valor");
c#answered Daniel Vieira 383 -
0
votes1
answer80
viewsA: Update Cdus from coin table
Good afternoon, This can be done this way: currency.CamposUtil.get_Item("CDU_Portal").Valor = 0; PriEngine.Engine.Comercial.Moedas.Actualiza(currency);
c#answered Daniel Vieira 383 -
2
votes1
answer198
viewsA: Stock document creation on V10
From V9 to V10 there were many changes, mainly at the level of inventories. I suggest you look for documentation to show you these changes, you can also use this article to get your bearings:…
vb.netanswered Daniel Vieira 383 -
0
votes2
answers266
viewsA: How to increment a variable under a certain condition
Good afternoon, this can be done this way: create table #tmp1 (Linha int, Sel1 int, Sel2 int) go insert into #tmp1 select Linha = 1, Sel1 = 1, Sel2 = 0 Union select Linha = 2, Sel1 = -1, Sel2 = 0…
sql-serveranswered Daniel Vieira 383 -
0
votes1
answer61
viewsA: Add result from POINTS column
Would this way have the result that you ask? SELECT CDEQUIPE, NMABREVIADO, PONTOS = sum(PONTOS) FROM ( SELECT CDJOGO, CDEQUIPE, NMABREVIADO, CDEQUIPEVENCEDORA, CASE WHEN CDEQUIPE = CDEQUIPEVENCEDORA…
-
-1
votes2
answers60
viewsA: Column type List
Good afternoon, This can be done using a Computed Column that returns the values of another table. It can be done as described below. Create and popular table with elements to power the computed…
sql-serveranswered Daniel Vieira 383 -
1
votes1
answer290
viewsA: Delete multiple lines from SQL Server that have the same text snippet?
Using the command as described is trying to delete all lines with the text %Teste%. What you want here is to delete all lines containing the text 'Testing', regardless of where it is placed. The…