コミュニティ

Verification Custom Action Problem - Table Add/Remove Row by script

Explanation below describing what we need exactly, i am using FC11 R5, with Invoice Module (EU)

In the Verification Station, we built an external dll for custom action
1) Type Purchase Orders, instead of using "Details", we Click Custom Action that we built
2) Our dll will fire a pop-up form, display all PO details from dataset, added some checkbox control for user to select
3) We would like to implement two function,
(i) one to append the checked line item and append to the Line Items on Verification Form, which we experience a problem as screen dump.
when the operator click “Add ‘Line Items’ item”, a new Line Items row is added, we want to perform the same using script, please advise.

(ii) one to replace the Line Items on Verification Form by the checked line items (the pop-up form via our custom action)
when the operator right-click the Line Item and select Remove, the selected row is removed, we want to perform the same using script, please advise.

Best regards,
Kevin


この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

3件のコメント

  • Avatar
    Alberto Torino
    Hello Kevin:
    I think what you're trying to do its not possible. IFields.AddNew cannot be used in scripts rules. Check help file for IFields.Addnew.
    Regards.
    0
  • Avatar
    Permanently deleted user
    Thanks atorino.

    Yes, you're right, i tried and searched the help.. Fields.AddNew cannot be used in script rules.
    But what if i call the custom action and use in external dll?

    any workaround or suggestion if i need to replace the verification form's rows with external dataset?
    as external dataset got 10 rows, but in the form it's only 5, then i cannot perform this function.
    0
  • Avatar
    Alberto Torino
    Kevin:
    i guess script rules means any script (including custom action) and no matter if it's a script or an external dll.
    A way that SHOULD work is usign a custom stage, if your using Flexicapture distributed, but you need to have the key to the external dataset, before this custom stage in order to make your query. I´ve faced a situation where the key for querying also needed verification, so, it could not be done so easily, but i'm sure that's the way to go in your case.
    Let me know how it goes or if i can provide more help.
    Regards,
    0

サインインしてコメントを残してください。