This function will add a new transfer or update it if exist.


AddTransfer("Company","CompanyAddress", "Contractor", "Contractor address" , "Contractor account", "Count", "Due date", "Description", "Account",  "RuleName", "VAT", "NIP");

Function arguments

  • Company – (String) Id or title of the case with company details
  • CompanyAddress – (String) Company address
  • Contractor – (String) Contractor name
  • Contractor address – (String) Contractor address
  • Contractor account – (String) Contractor account
  • Count – (Decimal) Amount of the transfer
  • Due date – (DateWithTime) Due date of the transfer
  • Description – (String) Description of the transfer
  • Account – (String) [Optional] Account from which the transfer will be made. You can miss this argument and set account later
  • RuleName – (String) [Optional] Rule, that will fired after accept transfers
  • VAT – (Decimal) [Optional] VAT of the thransfer, if you want to use split method
  • NIP – (String) [Optional] Company NIP, if you want to use split method

Return value

This function returns Boolean.
Returns true if a new transfer has been added or updated successfully.


Example 1:
„Company” as a value of field type „reference”

AddTransfer([Company], [CompanyAddress], [Contractor], [Contractor address], [Contractor account], [Count], [Due date], [Description], [Account])

Example 2:
„Company” as a string and missed account

AddTransfer("CompanyName", [CompanyAddress], [Contractor], [Contractor address], [Contractor account], [Count], [Due date], [Description])

Example 3:
Example of using split method

AddTransfer("CompanyName", [CompanyAddress], [Contractor], [Contractor address], [Contractor account], [Count], [Due date], [Description],"", "",[VAT], [NIP])

See this article (in polish)

Example 4:
Using rule

AddTransfer("CompanyName", [CompanyAddress], [Contractor], [Contractor address], [Contractor account], [Count], [Due date], [Description],"", "SomeRuleName")
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.