How to remove a specific line item from the invoice?

Question

How to remove a specific line item from the invoice with the stage script?

 

Answer

  1. Create the Automatic (script) stage in the workflow.
    blobid0.png
  2. To remove the first line item the following script can be used.
    blobid1.png

Here's the result after the script execution:

blobid2.png

Additional information

IDocument

IFields

IField

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.