on 02-14-2017 9:31 AM
If any one knows kindly help me with this requirement.
I think You want to put restriction on the values Of OVS , means if you apply ovs on name field then you want only name should be displayed in the name field.
If I am right , then this is the solution :-
if(this.GetFirst().Customer_name.content != "")
{
var qry = Customer.QueryByIdentification; var qry_sel = qry.CreateSelectionParams(); qry_sel.Add(qry.InternalID,"I","EQ",this.GetFirst().Customer_name.content);
var result = qry.Execute(qry_sel); if(result.Count()>0)
{
this.GetFirst().Customer_name.content = result.GetFirst().CurrentCommon.BusinessPartnerFormattedName;
this.GetFirst().Customer_id = result.GetFirst().InternalID;
}
}
In this Example I put OVS on name field for customer , so i just restrict on ovs so that result should be name after click on the required value in ovs.
Thanks,
Tushar Goel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
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.