-3
In Spring V10, in API Extensibility:
- I have a Customtab in "Article Sheet"
- I need to access the article/currency currently being edited in the form.
- I use the instruction:
MessageBox.Show(this.ContextService.ArtigoPrecos.NumItens.ToString());
to detect how many items there are and reports 1 item that corresponds to the currency being edited
How can I use the instruction: this.ContextService.ArtigoPrecos.GetEdita(dynamic Index)
to obtain the type object BasBEArtigoMoeda
?
Currently to get this data from the database I use:
BasBEArtigoMoeda artigoMoeda this.ContextService.BSO.Base.ArtigosPrecos.Edita(
this.ContextService.Artigo.Artigo,
this.ContextService.BSO.Contexto.MoedaBase,
this.ContextService.Artigo.UnidadeVenda);
this.ContextService.Articleprices.Getedita(1) returns the first coin to be edited
– José Mendes