Hello every one,
I have craeted a Custom Code list and then BCS that contains, Order Type and Partner Role and Desription.
Here when we want to craete a new salesOrder, we can define a DocumentType. and then chose the Account.
I want to say that if we chose Ho.re.ca. Order DocumentType, in the account we have to chose one of the accounts that has the "Customer" role.
But I do not know in my script how can I say if this.DocumentType = order type of BCS ,...
Can anyone help me with this?
Thanks