Print

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");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?