Hi,
I have a repeatable group (as a table) in order to split an invoice over multiple cost centers.
Everything works, except the fact that we always need at least one row in the table.
I've tried adding a rule script on the group with the following script:
if Context.Field("Division").Items.Count = 0 then
Context.Field("Division").Items.AddNew()
end if
This doesn't work and gives an error "System.NotImplementedException".
Apparently I can't use this method in a rule script and I should use a document processing script.
However, I'm using a standalone version and I can't add stages.
Can I solve this problem somehow?
Thank you in advance!
コメント
2件のコメント
I am also interested in the answer to this question.
Thanks,
Cory
Hello,
You may use this script in the "After document state changed" event handler: http://help.abbyy.com/en-us/flexicapture/12/standalone_administrator/documentstate_change
サインインしてコメントを残してください。