2024 Aug 08 2:19 PM - edited 2024 Aug 08 2:21 PM
using SAPbouiCOM.Framework;
using System;
using System.Collections.Generic;
using System.Xml;
namespace LearningHubSAP
{
[FormAttribute("LearningHubSAP.Form1", "Form1.b1f")]
class Form1 : UserFormBase
{
public Form1()
{
}
/// <summary>
/// Initialize components. Called by framework after form created.
/// </summary>
public override void OnInitializeComponent()
{
this.EditText0 = ((SAPbouiCOM.EditText)(this.GetItem("Item_0").Specific));
this.OnCustomInitialize();
}
/// <summary>
/// Initialize form event. Called by framework before form creation.
/// </summary>
public override void OnInitializeFormEvents()
{
}
private SAPbouiCOM.EditText EditText0;
private void OnCustomInitialize()
{
EditText0.DataBind.SetBound(true, "OCRD", "CardCode");
EditText0.DataBind.Bind("2", EditText0.Item.UniqueID);
}
}
}
Hello
I have this form. I need to bind edittext with OCRD document CardCode field. If I click the field, needs to open ChooseFromList I need to choose Business Partner and business partner's cardcode needs to put to edittext. how to do it?
User | Count |
---|---|
111 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.