Skip to Content
0
Former Member
Jul 14, 2014 at 02:22 PM

B1Wizardbase mandatory fields

17 Views

Hi All,

Please can someone guide me to add mandatory UDF's via the B1Wizardbase in the DI ?

I know that the mandatory true mean not mandatory and false means mandatory but it keeps telling me that it must have a default value ?

I have tried the following:

new B1DbColumn("OCRD", "DistributorCode", "Distributor Code", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None,6, false, new B1WizardBase.B1DbValidValue[1] {new B1WizardBase.B1DbValidValue("0", "abc")},0),

new B1DbColumn("OCRD", "DistributorCode", "Distributor Code", BoFieldTypes.db_Alpha, BoFldSubTypes.st_None,6, false, new B1WizardBase.B1DbValidValue[0] ,-1),

But it does not seem to work properly ...

Please assist...

Kind Regards,

Brenden Draper