FormDataSourceEventHandler

    [FormDataSourceEventHandler(formDataSourceStr(InventItemBarcode, InventItemBarcode), FormDataSourceEventType::Initialized)]
    public static void InventItemBarcode_OnInit(FormDataSource sender, FormDataSourceEventArgs e)
    {
        FormRun             element      = sender.formRun();
        FormDataSource      InventItemBarcode_ds = element.dataSource(formDataSourceStr(InventItemBarcode, InventItemBarcode)) as FormDataSource;
        InventItemBarcode_ds.object(fieldNum(InventItemBarcode, itemBarCode)).allowEdit(false);
    }
Previous Post
Next Post

post written by: