Hi,
In my case, the idea is I want to disable or skip the standard validation in SalesOrderLineV2Entity.validateWrite(). The purpose of I am doing so is because inside the validateWrite() got validation or condition where not allow us (prompt and error message) to update the sales order with retail channel. It works fine on sales order without retail channel. Then, I have done some research and I found similar scenario where the developers create an extension as below to skip that validate method :
[]
final class DataEntityToExtend_Extension
{
public boolean validateWrite()
{
boolean ret;
//ret = next validateWrite();
return ret;
}
As we can see they commented the next validateWrite(); But the thing is all the scenarios that I found was in 'formdatasourcestr' not in 'tablestr'. The issue that I am facing currently, they triggered the validateWrite() from table entity. I was wondering, is it possible if this solution was only applicable to formdatasourcestr only and not applicable to tablestr(SalesOrderLineV2Entity) ? Can anyone help me. Thank you in advance.