Is it possible to create UDF on iVend Objects (Store, Enterprise) using Extensibility?

Is it possible to create UDF on iVend Objects (Store, Enterprise) using Extensibility?

Query: 

Is it possible to create UDF on iVend Objects (Store, Enterprise) using Extensibility or UDF on iVend Objects can be created only using Management Console?

Answer: 

UDF can be created on iVend objects through extensibility.

Please find the sample code as mentioned below: -

UserDefinedTable userDefinedTable = UserDefinedTableSubSystem.Instance.Load(typeof(Store));
UserDefinedField userDefinedField = userDefinedTable.CreateField();
userDefinedField.FieldName = "U_ABC";
userDefinedField.Description = ""U_ABC_Description";
userDefinedField.DataType = UserDefinedFieldDataType.String;
userDefinedField.DataLength = 100;
userDefinedField.IsSearchable = false;
userDefinedField.IsMandatory = false;
userDefinedField.DisplayOnly = false;
userDefinedField.ShowInResults = false;
userDefinedField.RegularExpression = "";
userDefinedTable.AddField(userDefinedField);
CXS.Retail.BusinessLogic.UDFHelperClass.CommitUserDefinedFields(userDefinedTable);


    • Related Articles

    • Addon information was not updated for newly created store

      Environment: iVend 6.6 integrated with SAPB1 Problem Statement: Addon information was not updated for newly created store Symptoms: Not Applicable Resolution/Work Around: Issue is already fixed in the latest iVend patch (8567). As a workaround we ...
    • Steps to create New Store in iVend

      Environment iVend 6.6 7989 Query Steps to create New Store in iVend HO MC Answer One can follow our e-Learning Video on Store Creation from below link/ portal: It is also suggested to create Store backup file from iVend Enterprise MC in downtime when ...
    • Require to make the inventory as Zero for particular store

      Environment: iVend 6.6 with SAP B1 10 Problem statement: Require to make the inventory as Zero for particular store. Symptoms: products Inventory show in negative and some are in positive numbers. Resolution/Work Around: There is need to check if SAP ...
    • General Settings in SAP Business One

      Introduction The iVend Add-on helps in setting up some configurations required for integrating iVend with SAP Business One. The following sections of this document capture the functionality of the new screens created and new fields added to the SAP ...
    • Can't create Loyalty user using iVend API

      Environment: iVend 6.5.5 Problem Description: iVend API Error Scenario: Client is using iVend API to create loyalty users through below API as mentioned. As reported , it was working for more than a year but suddenly started throwing an exception. ...