Hi,
I import salesorder with xml or csv data import with status different than new which i assign its new value at salesorder precreate(i know i can assign the status at data import wizzard but that's not what i need.the status can be changed by some logic that's why i should run plugin for it.).But it creates the entity with status "new".Then i updated entity after creation with the wanted status then it works.Can't i create salesorder with status different than "New"even i assign new value to it on pre-create?.I tried initializing new values to statecode and statuscode on pre-create but it didnt work.Only updating after post create worked.
Do i know something missing?Or it is just managed by CRM when creating new salesorder entity that we cant set different status than "New".
Thanks.
*This post is locked for comments
I have the same question (0)