Trying to extend initValue method on CustCustomerV3Entity. The goal is to auto-generate customer account number when customer record is inserted via the data entity.
I'm not clear why CoC isn't working. Even though CustCustomerV3Entity doesn't implement this method, it still inherits it from Common. This should work according to
docs.microsoft.com/.../method-wrapping-coc
What are my options? The only other option I can think about is creating my own data entity but this seems to be a huge overkill.
Here's the code I'm trying to use
[ExtensionOf(tableStr(CustCustomerV3Entity))] final class CustCustomerV3Entity_Extension { public void initValue() { next initValue(); if (!this.skipNumberSequenceCheck()) { NumberSeqRecordFieldHandler::enableNumberSequenceControlForField( this, fieldNum(CustCustomerV3Entity, CustomerAccount), CustParameters::numRefCustAccount()); } } }