FillFromSkanujTo

This function will fill AMODIT invoice fields from attachments fields.

Syntax

FillFromSkanujTo();
FillFromSkanujTo("attachmentName|fieldName");

Function arguments

  • attachmentName|fieldName – (String) [Optional] The name of the attachment or attachment field from which invoice is to be filled. If not used, all attachments will be used, prioritizing data from the newest.

Return value

This function returns Boolean.
Returns true on success, false otherwise.

Examples

Example 1:
This will fill AMODIT invoice getting fields data from every attachment. If any field is present in multiple attachments, then value from the newest one will be used

FillFromSkanujTo();

Example 2:
This will fill AMODIT invoice, getting fields data only from specified attachment.

FillFromSkanujTo("file1");

Example 3:
This will fill AMODIT invoice, getting fields data only from attachment from field Invoice.

FillFromSkanujTo("Invoice");
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.