Hello..
I added new enum has 5 values to SalesTable , and i already use salesSalesOrderServices to upload sales order to ax 2012R3 everything is ok the only issue is when change the enum value through the c# application , the enum in SalesTable is take the first value .
switch (HeaderSalesMan.SectorID)
{
case "1": st.Activites = AxdEnum_Activites.Icecream;
break;
case "2": st.Activites = AxdEnum_Activites.Chipsy;
break;
case "3": st.Activites = AxdEnum_Activites.Sweets;
break;
default :st.Activites = AxdEnum_Activites.Stoped;
break;
}
is there any condition to insert the enum value that different than insert string.
I already inserted alot of new string value , but it's first time to insert Enum value.
thank you.
*This post is locked for comments
I have the same question (0)