I have a power automate cloud flow that is attempting to insert into my dataverse table that was created from a custom data entity in F&O.
This field is the ServiceOrderId field. I am attempting to send it a generic value so that it will create a new record using the number sequence specified in F&O.
This data entity works as expected when used with dual-write and custom dataverse tables. I am able to send a value of '0000' and F&O creates a new ServiceOrderId for the record coming in.
In my dataentity I have overriden the 'initValue' with the following:
public void initValue()
{
if (!this.skipNumberSequenceCheck())
{
NumberSeqRecordFieldHandler::enableNumberSequenceControlForField(
this, fieldNum(VER_SMAServiceOrderHeaderEntity, ServiceOrderId), SMAParameters::numRefServiceOrderId());
}
super();
}
As of yet I have been unable to debug anything coming into my data entity via the virtual entity table in dataverse.