Hi Team,
I want to show only few customer group while creating customer in customer group field. For same, I have extended custTable table and added a related field fixed relation in the custgroup field. but it is restricting me to insert data for other customer groups by entity.
So, I am thinking to create lookup in the customer group form control. but I am not able to find the control as it is dynamically created by below code in the DirPartyQuickCreateForm.
private void addDynamicControls()
{
#DirParty
controlHeader = this.form().design(1).control(formcontrolstr(D, DynamicHeader));
controlHeader.dataSource(fbds.id());
controlHeader.dataGroup(#quickCreateHeader);
controlHeader.autoDataGroup(true);
controlDetails = this.form().design(1).control(formcontrolstr(DirPartyQuickCreateForm, DynamicDetail));
controlDetails.dataSource(fbds.id());
controlDetails.dataGroup(#quickCreateDetails);
controlDetails.autoDataGroup(true);
}
can anyone suggest how to show only few customer groups while creating customers ?