NetTalk Central

Author Topic: NTWS Method error  (Read 3165 times)

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
NTWS Method error
« on: March 26, 2015, 10:57:22 AM »
Hi Bruce,

After update NT i´m getting some erros with my methods.

1. a simple method with 6 parameters and just one return (view with one table)

error:

If records(p_web.ServiceResultQueue) = 0
        TipoNegocioView{prop:order} = 'Tng:Descricao'
        Get(q:TipoNegocio,1)  <=====  NO MATCHING PROTOTYPE AVAILABLE
        xml.save(TipoNegocioView,'','tngRegistro')
        packet.append(sub(xml.xmldata,1,xml.xmldatalen))
      End ! Condition


2. all my parameters (NUMBER, DATE) are getting error with PICTURE. I change to String and it works fine.

Thanks,

Walter - SOFTVALE

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NTWS Method error
« Reply #1 on: March 26, 2015, 09:42:45 PM »
Hi Walter,

regarding the first - this is a bug which is fixed in the next build.
For now you can work around it by going to your Returns View and adding the filter.
1

that's all, just a 1.
then it should compile ok

I'll try and duplicate the second issue here.

cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NTWS Method error
« Reply #2 on: March 26, 2015, 09:54:30 PM »
thanks for the report - all fixed in 8.43

cheers
Bruce

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: NTWS Method error
« Reply #3 on: March 27, 2015, 05:23:54 AM »
thanks
Walter - SOFTVALE