Customs functions and workflows - Bills

Customs functions and workflows - Bills

Summary

To enable ALIX to create a draft bill in Zoho Books, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for bill create, update and delete.

It is mandatory to have previously created a connection between the applications. To know how to create a connection, click here.

 Create and update

 1. Custom function

  1. Go to Settings -» Automation -» Custom functions

  2. Create a new function.

    1. Name the function.

    2. Select the Bill module.

    3. Copy/paste this function :

      bodyMap = Map:String();
      bodyMap.put('bill',bill);
      response = invokeurl
      [
      url :url
      type :PUT
      parameters:bodyMap
      connection:"alix"
      ];
At line 9, replace "alix" with the custom function's name

 2. Workflow rule

  1. Go to Settings -» Automation -» Workflow rules.

  2. Create a new workflow.

  3. Entrer the following information : 




 Delete

 1. Custom function

  1. Go to Settings -» Automation -» Custom functions

  2. Create a new function.

    1. Name the function.

    2. Select the Bill module.

    3. Copy/paste this function :

      bill.put('exist',false);
      bodyMap = Map:String();
      bodyMap.put('bill',bill);
      response = invokeurl
      [
      url :url
      type :PUT
      parameters:bodyMap
      connection:"alix"
      ];
At line 10, replace "alix" with the custom function's name

 2. Workflow rule

  1. Go to Settings -» Automation -» Workflow rules.

  2. Create a new workflow.

  3. Entrer the following information : 





    • Related Articles

    • Customs functions and workflows - Invoices

      Summary To enable ALIX to create a draft invoice in Zoho Books, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for invoices create, update and delete. It ...
    • Customs functions and workflow - Customers

      Summary To synchronize Zoho Books's clients to ALIX's contacts, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for clients create, update and delete. It is ...
    • Customs functions and workflow - Vendors

      Summary To synchronize Zoho Books's vendors to ALIX's contacts, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for vendors create, update and delete. It is ...
    • Release June 15th, 2023 (v.10.7.18)

      June 15, 2023 Context This update brings some minor improvements and fixes. News ✯ Pro Forma Invoice New configuration to allow generating basic pro forma invoices in shipments to help clear customs. This configuration can be found in the inventory ...
    • Release October 3rd, 2022 (v.10.1.0)

      October 3, 2022  Context This update brings several major improvements such as redesigned vendor bills tracking, tolerance on quantity shipped, and the ability to split a purchase order line item in some key scenarios.  Nouveautés ✯ Improved tracking ...