Skip to Content
avatar image
Former Member

set inactive BPs

hi experts,

on a web page when the user clicks to delete BP i use BP.Valid =BoYesNoEnum.tNO;

which sets the BP to inactive (validfor in OCRD) so it's not gonna show on the site again.

it's working very well. but i noticed that the Radio button (Active) still ticked in BP's form.

if i query OCRD i see that validfor ="N" for that BP.

my question is: how to change the Radio button on the form to be Inactive using SDK?

thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 06, 2015 at 07:03 AM

    Hi Samira,

    validFor = N is inactive, so it could be that the next time you open the form the radio button will be in the Inactive position.


    Best regards,

    Pedro Magueija


    View Pedro Magueija's profile on LinkedIn

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Edy Simon

      Hi Edy,

      Thank you for your help. i did the the following, and it's working

      BP.Valid = BoYesNoEnum.tNO;

      BP.Frozen = BoYesNoEnum.tYES;

      Best Regards,

      Samira