AddLetter (eNadawca)

This function will add new letter

Syntax

AddLetter("Company","Department", "Receiver", "Street", "[House number]" , "[Apartment number]", "City", "Postal code", "Country", "[Phone number]", "[Mobile number]",  "[Email]", "Type", "[Category]", "[Format]", "[Gauge]", "[Mass]", "[Confirmation]", "[Description]", "[Label]", "[Office number]", "[Date of posting]", "[Value of letter]", "Field for posting number", "Field for parcel status");

Function arguments

  • Company – (String) Name of the company
  • Department – (String) Name of the department
  • Receiver – (String) Name and Surname of the receiver
  • Street – (String) Street name of the recipent
  • House number – (String) [Optional] Number of the house
  • Apartment number – (String) [Optional] Number of the apartment
  • City – (String) Name of the city
  • Postal code – (String) Postal code number
  • Country – (String) Name of the country
  • Phone number – (String) [Optional] Phone number
  • Mobile number – (String) [Optional] Mobile phone number
  • Email – (String) [Optional] Email address
  • Type – (String) [Optional] Type of letter
  • Category – (String) Catgory of parcel
  • Format – (String) Format of parcel (S, M, L)
  • Gauge – (String) Gauge of parcel
  • Mass – (Decimal) [Optional] Parcel weight
  • Confirmation – (Boolean) [Optional] Sending confirmation
  • Description – (String) [Optional] Parcel description
  • Label – (Boolean) [Optional] Print label
  • PostOffice number – (Decimal) [Optional] Postoffice number
  • Date of posting – (DateNoTime) [Optional] Predicted date of posting
  • Value of letter – (Decimal) [Optional] value of letter in (grosze)
  • Field for posting number – (String) [Optional] Field for posting number
  • Field for parcel status – (String) [Optional] Field for parcel status. Returned values: Sended, ReadyToSend

Return value

This function returns String.
Returns empty string if letter has been added

Examples

Example 1:

AddLetter("Company","Department", "Receiver", "Street", "[House number]" , "[Apartment number]", "City", "Postal code", "Country", "[Phone number]", "[Mobile number]",  "[Email]", "Type", "[Category]", "[Format]", "[Gauge]", "[Mass]", "[Confirmation]", "[Description]", "[Label]", "[Office number]", "[Date of posting]", "[Value of letter]", "Field for posting number", "Field for parcel status")
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.